From d7daf165be74833632e24eb303911157a4416891 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 09 2021 18:22:28 +0000 Subject: import kexec-tools-2.0.20-55.el8 --- diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index 5a93974..169fc8e 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -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 - 2.0.20-55 +- kdump/ppc64: migration action registration clean up + * Fri Jul 23 2021 Pingfan Liu - 2.0.20-54 - kdump/ppc64: rebuild initramfs image after migration - Check the existence of /sys/bus/ccwgroup/devices/*/online beforehand