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 <dreisner@archlinux.org> --- init | 1 - install/base | 2 +- 2 files changed, 1 insertions(+), 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 -- 1.7.7