diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-10-22 16:27:12 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-10-22 16:27:12 +0200 |
commit | 2ad79d0f5b9b0af09f5cf4c61215e2ae7a25dbd5 (patch) | |
tree | ebe8ffaacafc70a874ba2b979b4baf63c96f68fa | |
parent | e3e9af2b4d2ec8193303470104fe9bb0d7507cf3 (diff) | |
download | mkinitcpio-2ad79d0f5b9b0af09f5cf4c61215e2ae7a25dbd5.tar.gz mkinitcpio-2ad79d0f5b9b0af09f5cf4c61215e2ae7a25dbd5.tar.xz |
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 <dreisner@archlinux.org>
-rw-r--r-- | init | 1 | ||||
-rw-r--r-- | install/base | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -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 |