import kexec-tools-2.0.20-55.el8

This commit is contained in:
CentOS Sources 2021-08-09 18:22:28 +00:00 committed by Andrew Lukoshko
parent 7e88ced565
commit 830dcd5c4c
1 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Name: kexec-tools
Version: 2.0.20
Release: 54%{?dist}
Release: 55%{?dist}
License: GPLv2
Group: Applications/System
Summary: The kexec/kdump userspace component
@ -287,11 +287,11 @@ mv $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/* $RPM_BUILD_ROOT/%{d
touch /etc/kdump.conf
ARCH=`uname -m`
if [ "$ARCH" == "ppc64" ] || [ "$ARCH" == "ppc64le" ]
then
servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh --match='refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin
fi
%ifarch ppc64 ppc64le
servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh --match='refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin
%endif
# This portion of the script is temporary. Its only here
# to fix up broken boxes that require special settings
@ -320,6 +320,9 @@ fi
%systemd_postun_with_restart kdump.service
%preun
%ifarch ppc64 ppc64le
servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
%endif
# Package removal, not upgrade
%systemd_preun kdump.service
@ -403,6 +406,9 @@ done
%endif
%changelog
* Mon Aug 2 2021 Pingfan Liu <piliu@redhat.com> - 2.0.20-55
- kdump/ppc64: migration action registration clean up
* Fri Jul 23 2021 Pingfan Liu <piliu@redhat.com> - 2.0.20-54
- kdump/ppc64: rebuild initramfs image after migration
- Check the existence of /sys/bus/ccwgroup/devices/*/online beforehand