summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-06-14 03:07:04 +0200
committerAaron Griffin <aaron@archlinux.org>2006-06-14 03:07:04 +0200
commit851b4e2c2b119692c30f185b1c0d10b07cacc322 (patch)
tree87b0a701902484cfc13708ea6d686b6956f4557b /hooks
parentb31ed489b977662292aa39978ee737b94b60af14 (diff)
downloadmkinitcpio-851b4e2c2b119692c30f185b1c0d10b07cacc322.tar.gz
mkinitcpio-851b4e2c2b119692c30f185b1c0d10b07cacc322.tar.xz
kinit param handling changes
encryption /dev/mapper dir (whoops) git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@125 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'hooks')
-rw-r--r--hooks/filesystems4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/filesystems b/hooks/filesystems
index 97d7d57..5ab5c6b 100644
--- a/hooks/filesystems
+++ b/hooks/filesystems
@@ -13,7 +13,7 @@ run_hook ()
/bin/sleep "${rootdelay}"
msg "done."
export rootdelay=0
- kparams "rootdelay=0"
+ kinit_params="${kinit_params} rootdelay=0"
fi
eval $(/bin/parseblock "${root}")
@@ -41,7 +41,7 @@ run_hook ()
if [ "${FSTYPE}" = "unknown" ]; then
echo "ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter."
else
- kparams "rootfstype=${FSTYPE}"
+ kinit_params="${kinit_params} rootfstype=${FSTYPE}"
/bin/modprobe -q "${FSTYPE}" >/dev/null 2>&1
fi
}