From d75c19a211aeb2c5a21a8775747f09d56beb8f67 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Tue, 22 Nov 2005 21:52:53 +0000 Subject: [PATCH] - Report missing kdump kernel image as warning --- kdump.init | 6 +++--- kexec-tools.spec | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/kdump.init b/kdump.init index 40fec72..bec8b1b 100644 --- a/kdump.init +++ b/kdump.init @@ -61,9 +61,9 @@ function load_kdump() kdump_initrd="${BOOTDIR}/initrd-${kdump_kver}.img" if [ ! -f $kdump_kernel ]; then - echo "No kdump kernel image found." - echo "Tried to locate ${kdump_kernel}" - return 1 + echo -n "No kdump kernel image found."; warning; echo + echo -n "Tried to locate ${kdump_kernel}" + exit 0 fi if [ ! -f $kdump_initrd ]; then diff --git a/kexec-tools.spec b/kexec-tools.spec index f5f6ff3..8cf0609 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 1.101 -Release: 4 +Release: 5 License: GPL Group: Applications/System Summary: The kexec/kdump userspace component. @@ -104,6 +104,9 @@ exit 0 %doc TODO %changelog +* Wed Nov 16 2005 Thomas Graf - 1.101-5 +- Report missing kdump kernel image as warning + * Thu Nov 3 2005 Jeff Moyer - 1.101-4 - Build for x86_64 as well. Kdump support doesn't work there, but users should be able to use kexec.