[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Ovirt-devel] [PATCH node] do not preserve SELinux context when copying



iso9660_t cannot be applied on the normal filesystems

Signed-off-by: Alan Pevec <apevec 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]