- kdump-ledblink-background.patch: Run kdumptool in the background.

- kdump-initrd-network.patch: Added dracut network activation in
  initrd to mkdumprd.
- kdump-ledblink-background.patch: Fixed wrong argument for
  ledblink.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=65
This commit is contained in:
Petr Tesařík 2014-03-14 07:22:25 +00:00 committed by Git OBS Bridge
parent 4ac9729640
commit e713d7a61d
5 changed files with 49 additions and 22 deletions

View File

@ -1,6 +1,16 @@
--- init/mkdumprd.old 2014-03-04 17:51:17.000000000 +0100
+++ init/mkdumprd 2014-03-05 17:57:07.606638345 +0100
@@ -123,6 +123,26 @@
From: Julian Wolf <juwolf@suse.com>
Subject: Added dracut network activation in initrd to mkdumprd
Patch-mainline: not yet
Acked-by: Petr Tesarik <ptesarik@suse.cz>
---
init/mkdumprd | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
--- a/init/mkdumprd
+++ b/init/mkdumprd
@@ -123,6 +123,26 @@ function run_dracut()
DRACUT_ARGS="--force --hostonly --omit 'systemd plymouth resume usrmount'"

View File

@ -0,0 +1,25 @@
From: Julian Wolf <juwolf@suse.com>
Subject: Fixed wrong argument for ledblink.
Patch-mainline: not yet
There is no --background option for kdumptool ledblink.
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
---
init/save_dump.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/init/save_dump.sh
+++ b/init/save_dump.sh
@@ -143,8 +143,8 @@ FADUMP_ENABLED=/sys/kernel/fadump_enable
FADUMP_RELEASE_MEM=/sys/kernel/fadump_release_mem
#
-# start LED blinking in background
-kdumptool ledblink --background
+# start LED blinking
+kdumptool ledblink &
#
# create core dumps by default here for kdumptool debugging

View File

@ -1,14 +1,19 @@
-------------------------------------------------------------------
Fri Mar 14 07:21:41 UTC 2014 - ptesarik@suse.cz
- kdump-ledblink-background.patch: Run kdumptool in the background.
-------------------------------------------------------------------
Wed Mar 5 16:58:02 UTC 2014 - juwolf@suse.com
- Added dracut network activation in initrd to mkdumprd.
Patch added: initrd_network.patch
- kdump-initrd-network.patch: Added dracut network activation in
initrd to mkdumprd.
-------------------------------------------------------------------
Tue Mar 4 12:19:24 UTC 2014 - juwolf@suse.com
- Fixed wrong argument for ledblink
ledblink_background.patch: Added
- kdump-ledblink-background.patch: Fixed wrong argument for
ledblink.
-------------------------------------------------------------------
Sun Mar 2 15:35:11 UTC 2014 - ptesarik@suse.cz

View File

@ -49,8 +49,8 @@ PreReq: %insserv_prereq %fillup_prereq mkinitrd
Source: %{name}-%{version}.tar.bz2
Source2: %{name}-%{version}-rpmlintrc
Source3: kdump.service
Patch1: ledblink_background.patch
Patch2: initrd_network.patch
Patch1: %{name}-ledblink-background.patch
Patch2: %{name}-initrd-network.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
Provides: kdump-helpers = %{version}

View File

@ -1,13 +0,0 @@
--- init/save_dump.sh.old 2014-03-04 12:44:06.595720000 +0100
+++ init/save_dump.sh 2014-03-04 12:44:19.444960000 +0100
@@ -143,8 +143,8 @@
FADUMP_RELEASE_MEM=/sys/kernel/fadump_release_mem
#
-# start LED blinking in background
-kdumptool ledblink --background
+# start LED blinking
+kdumptool ledblink
#
# create core dumps by default here for kdumptool debugging