[kexec-tools] add bootdev cmdline param
Dave Young
yangrr at fedoraproject.org
Mon Jan 28 06:03:12 UTC 2013
commit ae1db90332c18c4cdd4e2021d65cfbd5df8c0079
Author: Dave Young <dyoung at redhat.com>
Date: Mon Jan 28 14:00:58 2013 +0800
add bootdev cmdline param
With recent dracut a bootdev is needed in cmdline, so dracut can waiting for
this nic ready early in initqueue. So in this patch bootdev=${_netnic} is added
[v1->v2]: use standard cmdline file name 70bootdev.conf
Signed-off-by: Dave Young <dyoung at redhat.com>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
Acked-by: Baoquan He <bhe at redhat.com>
dracut-module-setup.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh
index 315d0b1..831439a 100755
--- a/dracut-module-setup.sh
+++ b/dracut-module-setup.sh
@@ -186,6 +186,7 @@ kdump_install_net() {
kdump_setup_netdev "${_netdev}"
#save netdev used for kdump as cmdline
echo "kdumpnic=${_netdev}" > ${initdir}/etc/cmdline.d/60kdumpnic.conf
+ echo "bootdev=${_netdev}" > ${initdir}/etc/cmdline.d/70bootdev.conf
}
#install kdump.conf and what user specifies in kdump.conf
More information about the scm-commits
mailing list