Fixing xen kernel cmdline parsing
This commit is contained in:
parent
9611e10df6
commit
1d0759917d
@ -155,7 +155,13 @@ function load_kdump()
|
||||
KDUMP_COMMANDLINE=`cat /proc/cmdline`
|
||||
fi
|
||||
|
||||
if [ "$ARCH" == "ppc64" ]
|
||||
then
|
||||
MEM_RESERVED=`grep "crashkernel=[0-9]\+[MmKkGg]@[0-9]\+[MmGgKk]" /proc/cmdline`
|
||||
else
|
||||
MEM_RESERVED=`grep "Crash kernel" /proc/iomem | grep -v "00000000-00000000"`
|
||||
fi
|
||||
|
||||
if [ -z "$MEM_RESERVED" ]
|
||||
then
|
||||
$LOGGER "No crashkernel parameter specified for running kernel"
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: kexec-tools
|
||||
Version: 1.101
|
||||
Release: 77%{?dist}
|
||||
Release: 78%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
Summary: The kexec/kdump userspace component.
|
||||
@ -252,6 +252,9 @@ rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
|
||||
%doc kexec-kdump-howto.txt
|
||||
|
||||
%changelog
|
||||
* Fri Aug 10 2007 Neil Horman <nhorman@redhat.com> - 1.101-78
|
||||
- Update init script to handle xen kernel cmdlnes (bz 250803)
|
||||
|
||||
* Wed Aug 01 2007 Neil Horman <nhorman@redhat.com> - 1.101-77%{dist}
|
||||
- Update mkdumprd to suppres notifications /rev makedumpfile (bz 250341)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user