X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F9990-main.sh;h=ef41fb048e6a6da6399e9806ec6a332fa089f4e5;hb=6676dad9a53b0e8517060b55c22742a0d2ae1547;hp=ba77dd4f8f7d8dffb12296fb505071bad42b3ad2;hpb=b7f0254874e284b1370f00056a72541fccccd07e;p=live-boot-grml.git diff --git a/scripts/boot/9990-main.sh b/scripts/boot/9990-main.sh index ba77dd4..ef41fb0 100755 --- a/scripts/boot/9990-main.sh +++ b/scripts/boot/9990-main.sh @@ -132,7 +132,7 @@ Main () if [ -n "${ROOT_PID}" ] then - echo "${ROOT_PID}" > "${rootmnt}"/live/root.pid + echo "${ROOT_PID}" > "${rootmnt}"/lib/live/root.pid fi log_end_msg @@ -146,8 +146,8 @@ Main () esac # Move to the new root filesystem so that programs there can get at it. - mkdir -p /root/live/image - mount --move /live/image /root/live/image + mkdir -p /root/lib/live/image + mount --move /live/image /root/lib/live/image # aufs2 in kernel versions around 2.6.33 has a regression: # directories can't be accessed when read for the first the time, @@ -158,8 +158,8 @@ Main () # Move findiso directory to the new root filesystem so that programs there can get at it. if [ -d /live/findiso ] then - mkdir -p /root/live/findiso - mount -n --move /live/findiso /root/live/findiso + mkdir -p /root/lib/live/findiso + mount -n --move /live/findiso /root/lib/live/findiso fi # if we do not unmount the ISO we can't run "fsck /dev/ice" later on @@ -169,10 +169,10 @@ Main () then losetup -d /dev/loop0 - if is_mountpoint /root/live/findiso + if is_mountpoint /root/lib/live/findiso then - umount /root/live/findiso - rmdir --ignore-fail-on-non-empty /root/live/findiso \ + umount /root/lib/live/findiso + rmdir --ignore-fail-on-non-empty /root/lib/live/findiso \ >/dev/null 2>&1 || true fi fi