Get rid of SELinux-related warnings - mount /proc

Without /proc, sed cannot see that SELinux is disabled
pull/1/head
Marek Marczykowski 13 years ago
parent 179c658348
commit 7c5604fc7f

@ -34,6 +34,7 @@ echo "--> Mouting $IMG"
mkdir -p mnt
mount -o loop $IMG mnt || exit 1
mount -t proc proc mnt/proc
echo "--> Installing RPMs..."
rpm --force --root=$(pwd)/mnt -ihv rpms_to_install/*
@ -63,7 +64,7 @@ mv mnt/usr/local mnt/usr/local.orig
ln -sf /rw/usrlocal mnt/usr/local
echo "--> Unmounting $IMG"
umount mnt
umount mnt/proc mnt
echo "Qubeized image stored at: $IMG"

Loading…
Cancel
Save