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

View File

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