Checked in fix by xiao peng for bug 3414725 - diskless root directory has bad fileperms

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers
2011-10-04 18:08:53 +00:00
parent 5a0835c89e
commit 24b7e62a4b
@@ -41,7 +41,7 @@ if [ -r /rootimg.sfs ]; then
mount --move /rw $NEWROOT/rw
elif [ -r /rootimg.gz ]; then
echo Setting up RAM-root tmpfs.
mount -t tmpfs rootfs $NEWROOT
mount -t tmpfs -o mode=755 rootfs $NEWROOT
cd $NEWROOT
echo -n "Extracting root filesystem:"
if [ -x /bin/cpio ]; then
@@ -52,7 +52,7 @@ elif [ -r /rootimg.gz ]; then
echo Done
elif [ -r /rootimg-statelite.gz ]; then
echo Setting up RAM-root tmpfs for statelite mode.
mount -t tmpfs rootfs $NEWROOT
mount -t tmpfs -o mode=755 rootfs $NEWROOT
cd $NEWROOT
echo -n "Extracting root filesystem:"
if [ -x /bin/cpio ]; then