diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-02 19:26:29 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-05-02 19:26:29 +0200 |
commit | 25e8e2078610025ce52d90b55997d413f0b88bd4 (patch) | |
tree | 4e02a466b312c2e023281165aa3a16495cd03cf8 /install/base | |
parent | bd858a51e41cbcbbff67430508494553aeffdd27 (diff) | |
download | mkinitcpio-25e8e2078610025ce52d90b55997d413f0b88bd4.tar.gz mkinitcpio-25e8e2078610025ce52d90b55997d413f0b88bd4.tar.xz |
ensure that cmdline added hooks are run properly in early init
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/base')
-rw-r--r-- | install/base | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/base b/install/base index ca77071..7eff431 100644 --- a/install/base +++ b/install/base @@ -1,6 +1,8 @@ #!/bin/bash build() { + local dir applet + for dir in new_root proc sys dev run tmp usr/bin; do add_dir "/$dir" done @@ -44,7 +46,6 @@ build() { # sanitize of any extra whitespace read -r -a modules <<< "$MODULES" - read -r -a hooks <<< "$HOOKS" { (( ${#modules[*]} )) && printf 'MODULES="%s"\n' "${modules[*]%\?}" |