summaryrefslogtreecommitdiffstats
path: root/install/base
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-02 19:26:29 +0200
committerDave Reisner <dreisner@archlinux.org>2012-05-02 19:26:29 +0200
commit25e8e2078610025ce52d90b55997d413f0b88bd4 (patch)
tree4e02a466b312c2e023281165aa3a16495cd03cf8 /install/base
parentbd858a51e41cbcbbff67430508494553aeffdd27 (diff)
downloadmkinitcpio-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/base3
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[*]%\?}"