30 lines
902 B
Diff
30 lines
902 B
Diff
|
From 0d9482bf68e9d8f1c9b13d4beb9cecc660dda017 Mon Sep 17 00:00:00 2001
|
||
|
From: Hannes Reinecke <hare@suse.de>
|
||
|
Date: Thu, 10 Jul 2014 14:55:50 +0200
|
||
|
Subject: 91zipl: Store commandline correctly
|
||
|
|
||
|
The 'rd.zipl' command was only printed and never stored in the
|
||
|
initramfs itself.
|
||
|
|
||
|
Signed-off-by: Hannes Reinecke <hare@suse.de>
|
||
|
---
|
||
|
modules.d/91zipl/module-setup.sh | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/modules.d/91zipl/module-setup.sh b/modules.d/91zipl/module-setup.sh
|
||
|
index a8d95c5..84bb41d 100644
|
||
|
--- a/modules.d/91zipl/module-setup.sh
|
||
|
+++ b/modules.d/91zipl/module-setup.sh
|
||
|
@@ -39,7 +39,7 @@ install() {
|
||
|
if [[ $hostonly_cmdline == "yes" ]] ; then
|
||
|
local _zipl=$(cmdline)
|
||
|
|
||
|
- [[ $_zipl ]] && printf "%s\n" "$_zipl"
|
||
|
+ [[ $_zipl ]] && printf "%s\n" "$_zipl" > "${initdir}/etc/cmdline.d/91zipl.conf"
|
||
|
fi
|
||
|
dracut_need_initqueue
|
||
|
}
|
||
|
--
|
||
|
1.8.4.5
|
||
|
|