- Report missing kdump kernel image as warning
This commit is contained in:
parent
e97a6c60ad
commit
d75c19a211
@ -61,9 +61,9 @@ function load_kdump()
|
|||||||
kdump_initrd="${BOOTDIR}/initrd-${kdump_kver}.img"
|
kdump_initrd="${BOOTDIR}/initrd-${kdump_kver}.img"
|
||||||
|
|
||||||
if [ ! -f $kdump_kernel ]; then
|
if [ ! -f $kdump_kernel ]; then
|
||||||
echo "No kdump kernel image found."
|
echo -n "No kdump kernel image found."; warning; echo
|
||||||
echo "Tried to locate ${kdump_kernel}"
|
echo -n "Tried to locate ${kdump_kernel}"
|
||||||
return 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f $kdump_initrd ]; then
|
if [ ! -f $kdump_initrd ]; then
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 4
|
Release: 5
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -104,6 +104,9 @@ exit 0
|
|||||||
%doc TODO
|
%doc TODO
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Build for x86_64 as well. Kdump support doesn't work there, but users
|
||||||
should be able to use kexec.
|
should be able to use kexec.
|
||||||
|
Loading…
Reference in New Issue
Block a user