projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving remaining stuff from /live to /lib/live to avoid further namespace pollution.
[live-boot-grml.git]
/
scripts
/
boot
/
9990-main.sh
diff --git
a/scripts/boot/9990-main.sh
b/scripts/boot/9990-main.sh
index
ba77dd4
..
ef41fb0
100755
(executable)
--- a/
scripts/boot/9990-main.sh
+++ b/
scripts/boot/9990-main.sh
@@
-132,7
+132,7
@@
Main ()
if [ -n "${ROOT_PID}" ]
then
if [ -n "${ROOT_PID}" ]
then
- echo "${ROOT_PID}" > "${rootmnt}"/live/root.pid
+ echo "${ROOT_PID}" > "${rootmnt}"/li
b/li
ve/root.pid
fi
log_end_msg
fi
log_end_msg
@@
-146,8
+146,8
@@
Main ()
esac
# Move to the new root filesystem so that programs there can get at it.
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/li
b/li
ve/image
+ mount --move /live/image /root/li
b/li
ve/image
# aufs2 in kernel versions around 2.6.33 has a regression:
# directories can't be accessed when read for the first the time,
# 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
# 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/li
b/li
ve/findiso
+ mount -n --move /live/findiso /root/li
b/li
ve/findiso
fi
# if we do not unmount the ISO we can't run "fsck /dev/ice" later on
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
then
losetup -d /dev/loop0
- if is_mountpoint /root/live/findiso
+ if is_mountpoint /root/li
b/li
ve/findiso
then
then
- umount /root/live/findiso
- rmdir --ignore-fail-on-non-empty /root/live/findiso \
+ umount /root/li
b/li
ve/findiso
+ rmdir --ignore-fail-on-non-empty /root/li
b/li
ve/findiso \
>/dev/null 2>&1 || true
fi
fi
>/dev/null 2>&1 || true
fi
fi