diff options
-rw-r--r-- | init | 9 | ||||
-rw-r--r-- | install/base | 1 |
2 files changed, 2 insertions, 8 deletions
@@ -115,13 +115,6 @@ if [ "${udevd_running}" -eq 1 ]; then udevadm info --cleanup-db fi -for d in proc sys dev run; do - if [ -d /new_root/${d} ]; then - mount --move /${d} /new_root/${d} - else - umount /${d} - fi -done -exec env -i TERM=$TERM /sbin/switch_root -c /dev/console /new_root ${init} "$@" +exec env -i "TERM=$TERM" /sbin/switch_root /new_root $init "$@" # vim: set ft=sh ts=4 sw=4 et: diff --git a/install/base b/install/base index 3d18fe0..0726fa2 100644 --- a/install/base +++ b/install/base @@ -9,6 +9,7 @@ build() { add_binary /sbin/modprobe add_binary /sbin/blkid add_binary /bin/mount + add_binary /sbin/switch_root add_symlink "/etc/mtab" "/proc/self/mounts" |