Resolves: bz 308151
This commit is contained in:
parent
67cdafe010
commit
fcbc10b998
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 1.102pre
|
Version: 1.102pre
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -190,9 +190,10 @@ rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
|
|||||||
# is not found, remove the corresponding kdump initrd
|
# is not found, remove the corresponding kdump initrd
|
||||||
|
|
||||||
#start by getting a list of all the kdump initrds
|
#start by getting a list of all the kdump initrds
|
||||||
for i in `ls /boot/initrd*kdump.img`
|
for i in /boot/initrd*kdump.img
|
||||||
do
|
do
|
||||||
KDVER=`echo $i | sed -e's/^.*initrd-//' -e's/kdump.*$//'`
|
[ -e "$i" ] || continue
|
||||||
|
KDVER="${i##*initrd-}" ; KDVER="${KDVER%%kdump*}"
|
||||||
if [ ! -e /boot/vmlinuz-$KDVER ]
|
if [ ! -e /boot/vmlinuz-$KDVER ]
|
||||||
then
|
then
|
||||||
# We have found an initrd with no corresponding kernel
|
# We have found an initrd with no corresponding kernel
|
||||||
@ -217,6 +218,9 @@ done
|
|||||||
%doc kexec-kdump-howto.txt
|
%doc kexec-kdump-howto.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 01 2007 Neil Horman <nhorman@redhat.com> - 1.102pre-2
|
||||||
|
- Fix triggerpostun script (bz 308151)
|
||||||
|
|
||||||
* Mon Aug 30 2007 Neil Horman <nhorman@redhat.com> - 1.102pre-1
|
* Mon Aug 30 2007 Neil Horman <nhorman@redhat.com> - 1.102pre-1
|
||||||
- Bumping kexec version to latest horms tree (bz 257201)
|
- Bumping kexec version to latest horms tree (bz 257201)
|
||||||
- Adding trigger to remove initrds when a kernel is removed
|
- Adding trigger to remove initrds when a kernel is removed
|
||||||
|
Loading…
Reference in New Issue
Block a user