- kdump-Add-bootdev-to-dracut-command-line.patch: Add 'bootdev=' to
dracut command line (bsc#1182309). OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=207
This commit is contained in:
parent
0fe2164e1c
commit
06e15d54cd
27
kdump-Add-bootdev-to-dracut-command-line.patch
Normal file
27
kdump-Add-bootdev-to-dracut-command-line.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From: Petr Tesarik <ptesarik@suse.com>
|
||||||
|
Date: Thu, 1 Apr 2021 15:09:52 +0200
|
||||||
|
Subject: Add 'bootdev=' to dracut command line
|
||||||
|
References: bsc#1182309
|
||||||
|
Git-commit: fe0777beff90a2479b451f5ef9e918249277c8ff
|
||||||
|
|
||||||
|
If this parameter is missing, dracut will parse the ip= command
|
||||||
|
line option(s) and create the corresponding initqueue jobs, but it
|
||||||
|
will not actually run them, unless they are needed to mount the
|
||||||
|
root filesystem.
|
||||||
|
|
||||||
|
Fixes: 2ad80dd96b91b889db44dd8c955cb127840a2be2
|
||||||
|
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
|
||||||
|
---
|
||||||
|
init/module-setup.sh | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
--- a/init/module-setup.sh
|
||||||
|
+++ b/init/module-setup.sh
|
||||||
|
@@ -213,6 +213,7 @@ kdump_cmdline_ip() {
|
||||||
|
|
||||||
|
kdump_ifname_config "$kdump_host_if"
|
||||||
|
|
||||||
|
+ echo -n "bootdev=$kdump_iface"
|
||||||
|
echo -n "$kdump_netif"
|
||||||
|
|
||||||
|
case "$kdump_net_mode" in
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 8 08:38:03 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
|
- kdump-Add-bootdev-to-dracut-command-line.patch: Add 'bootdev=' to
|
||||||
|
dracut command line (bsc#1182309).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 5 17:29:57 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
|
Fri Mar 5 17:29:57 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ Patch1: %{name}-fillupdir-fixes.patch
|
|||||||
Patch9: %{name}-use-pbl.patch
|
Patch9: %{name}-use-pbl.patch
|
||||||
Patch10: %{name}-on-error-option-yesno.patch
|
Patch10: %{name}-on-error-option-yesno.patch
|
||||||
Patch11: %{name}-mounts.cc-Include-sys-ioctl.h.patch
|
Patch11: %{name}-mounts.cc-Include-sys-ioctl.h.patch
|
||||||
|
Patch12: %{name}-Add-bootdev-to-dracut-command-line.patch
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -91,6 +92,7 @@ after a crash dump has occured.
|
|||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
|
%patch12 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CXXFLAGS="%{optflags} -std=c++11"
|
export CXXFLAGS="%{optflags} -std=c++11"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user