From 074ab58c616a00374c828d1d388880521bab6183 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 8 Jun 2011 17:04:58 -0400 Subject: install/base: cleanup and simplify * Create only the directories that are necessary. If others are needed, they'll be created along the way. As part of this, we create /new_root sooner in init, so it's less jarring to the user if they request a break. Signed-off-by: Dave Reisner --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init') diff --git a/init b/init index b9ea04e..332b4de 100644 --- a/init +++ b/init @@ -4,6 +4,7 @@ . /init_functions +mkdir -p /new_root /bin/mount -t proc proc /proc -o nosuid,noexec,nodev /bin/mount -t sysfs sys /sys -o nosuid,noexec,nodev if grep -q devtmpfs /proc/filesystems 2>/dev/null; then @@ -81,7 +82,6 @@ if [ "${break}" = "y" ]; then fi # Mount root at /new_root -mkdir -p /new_root ${mount_handler} /new_root [ -z "${init}" ] && init="/sbin/init" -- cgit v1.2.3-24-g4f1b