- Report missing kdump kernel image as warning

This commit is contained in:
Thomas Graf 2005-11-22 21:52:53 +00:00
parent e97a6c60ad
commit d75c19a211
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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 <tgraf@redhat.com> - 1.101-5
- Report missing kdump kernel image as warning
* Thu Nov 3 2005 Jeff Moyer <jmoyer@redhat.com> - 1.101-4
- Build for x86_64 as well. Kdump support doesn't work there, but users
should be able to use kexec.