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/trunk@10698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ae8990d359
commit
a42f007217
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user