[Ovirt-devel] [PATCH node] do not preserve SELinux context when copying
Alan Pevec
apevec at redhat.com
Tue Sep 23 12:35:54 UTC 2008
iso9660_t cannot be applied on the normal filesystems
Signed-off-by: Alan Pevec <apevec at redhat.com>
---
scripts/ovirt-early | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 3d2d0ca..6dff7ab 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -263,9 +263,9 @@ local_install() {
rm -rf $ovirt/LiveOS
mkdir -p $ovirt/boot/grub
mkdir -p $ovirt/LiveOS
- cp -a $live/LiveOS/squashfs.img $ovirt/LiveOS \
- && cp -a $live/$syslinux/initrd0.img $ovirt/boot \
- && cp -a $live/$syslinux/vmlinuz0 $ovirt/boot
+ cp -p $live/LiveOS/squashfs.img $ovirt/LiveOS \
+ && cp -p $live/$syslinux/initrd0.img $ovirt/boot \
+ && cp -p $live/$syslinux/vmlinuz0 $ovirt/boot
if [ $? -ne 0 ]; then
echo "image copy failed"; return 1
fi
--
1.5.5.1
More information about the ovirt-devel
mailing list