From 2ad79d0f5b9b0af09f5cf4c61215e2ae7a25dbd5 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 22 Oct 2011 10:27:12 -0400 Subject: install/base: include new_root as part of build process We always need this in early userspace, so add it as part of the build process instead of forking at runtime. Signed-off-by: Dave Reisner --- init | 1 - install/base | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/init b/init index c772590..c185375 100644 --- a/init +++ b/init @@ -6,7 +6,6 @@ PATH=/usr/sbin:/usr/bin:/sbin:/bin . /init_functions -mkdir -p /new_root mount -t proc proc /proc -o nosuid,noexec,nodev mount -t sysfs sys /sys -o nosuid,noexec,nodev if grep -q devtmpfs /proc/filesystems; then diff --git a/install/base b/install/base index 25b297f..1f2b3b8 100644 --- a/install/base +++ b/install/base @@ -1,7 +1,7 @@ #!/bin/bash build() { - for dir in proc sys dev run usr/{bin,sbin}; do + for dir in new_root proc sys dev run usr/{bin,sbin}; do add_dir "/$dir" done -- cgit v1.2.3-24-g4f1b