SHA256
1
0
forked from pool/kdump
OBS User unknown 2008-05-21 23:02:58 +00:00 committed by Git OBS Bridge
parent 4f7ecd0aaf
commit 446603446d
3 changed files with 11 additions and 5 deletions

View File

@ -13,10 +13,10 @@ Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
Makefile | 1 +
init/kdump | 47 +++++++++++++++++++++++++++++++++++------------
init/kdump | 46 ++++++++++++++++++++++++++++++++++------------
udev/70-kdump.rules | 12 ++++++++++++
udev/Makefile | 9 +++++++++
4 files changed, 57 insertions(+), 12 deletions(-)
4 files changed, 56 insertions(+), 12 deletions(-)
--- a/Makefile
+++ b/Makefile
@ -62,7 +62,7 @@ Signed-off-by: Bernhard Walle <bwalle@suse.de>
# The default dumper
#
# Clean up old stuff if necessary, check the free size
@@ -301,24 +320,28 @@ case "$1" in
@@ -303,24 +322,27 @@ case "$1" in
fi
;;
status)
@ -76,7 +76,6 @@ Signed-off-by: Bernhard Walle <bwalle@suse.de>
- echo "not implemented"
- fi
+ kdump_kernel_loaded
+ loaded=$?
+ case $? in
+ 0) echo "kdump kernel loaded" ;;
+ 1) echo "kdump kernel not loaded" ;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 20 10:54:19 CEST 2008 - bwalle@suse.de
- fix typo when checking the result of kdump_kernel_loaded
-------------------------------------------------------------------
Mon May 19 20:24:48 CEST 2008 - bwalle@suse.de

View File

@ -15,7 +15,7 @@ Name: kdump
License: GPL v2 or later
BuildRequires: libelf0-devel zlib-devel
Version: 0.3.3
Release: 26
Release: 28
Requires: curl openssh
Recommends: makedumpfile
Summary: Script for kdump
@ -147,6 +147,8 @@ fi
%{_sysconfdir}/udev/rules.d/70-kdump.rules
%changelog
* Tue May 20 2008 bwalle@suse.de
- fix typo when checking the result of kdump_kernel_loaded
* Mon May 19 2008 bwalle@suse.de
- implement "try-restart" command and use that implementation also
for "condrestart"