diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-05-05 18:36:55 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-05-05 18:36:55 +0200 |
commit | f486b7ed6f8e289c8d897fcaeac7a0f52c7493c0 (patch) | |
tree | b2128c29643067a0edbc734a8565d58b5928dd43 /init | |
parent | 2c6b8367f0f526c6a12b91b85f2f7f3ef35b5559 (diff) | |
download | mkinitcpio-f486b7ed6f8e289c8d897fcaeac7a0f52c7493c0.tar.gz mkinitcpio-f486b7ed6f8e289c8d897fcaeac7a0f52c7493c0.tar.xz |
kinit param handling change to match kinit patch (cmdline.patch)
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@68 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'init')
-rw-r--r-- | init | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,6 +11,9 @@ msg ":: Loading Initramfs" read CMDLINE </proc/cmdline export CMDLINE +# Used so hooks can override params to kinit +export kinit_params="" + for cmd in $CMDLINE; do case "$cmd" in [0123456Ss]) continue ;; @@ -74,4 +77,4 @@ fi # Optimize fs type loop for mounting rootfs msg ":: Initramfs Completed - control passing to kinit" -exec /bin/kinit rootfstype=${FSTYPE} $CMDLINE < /dev/console > /dev/console +exec /bin/kinit "root=${root}" ${kinit_params} < /dev/console > /dev/console |