From 957e10f9514dd5a522f2e5b1084bfeb9a31e8226 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 16 2020 16:36:03 +0000 Subject: import kexec-tools-2.0.20-40.el8 --- diff --git a/SOURCES/dracut-module-setup.sh b/SOURCES/dracut-module-setup.sh index af5b4ef..2ed1cfd 100755 --- a/SOURCES/dracut-module-setup.sh +++ b/SOURCES/dracut-module-setup.sh @@ -816,7 +816,7 @@ install() { inst "/lib/kdump/kdump-logger.sh" "/lib/kdump-logger.sh" inst "$moddir/kdump.sh" "/usr/bin/kdump.sh" inst "$moddir/kdump-capture.service" "$systemdsystemunitdir/kdump-capture.service" - ln_r "$systemdsystemunitdir/kdump-capture.service" "$systemdsystemunitdir/initrd.target.wants/kdump-capture.service" + systemctl -q --root "$initdir" add-wants initrd.target kdump-capture.service inst "$moddir/kdump-error-handler.sh" "/usr/bin/kdump-error-handler.sh" inst "$moddir/kdump-error-handler.service" "$systemdsystemunitdir/kdump-error-handler.service" # Replace existing emergency service and emergency target diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index 6e8a762..15c4893 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.20 -Release: 38%{?dist} +Release: 40%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component @@ -371,6 +371,12 @@ done %endif %changelog +* Tue Dec 15 2020 Pingfan Liu - 2.0.20-40 +- Rework on dracut-module-setup.sh: Use systemctl call to replace ln_r + +* Tue Dec 15 2020 Pingfan Liu - 2.0.20-39 +- dracut-module-setup.sh: Use systemctl call to replace ln_r + * Fri Dec 11 2020 Pingfan Liu - 2.0.20-38 - Don's try to restart dracut-initqueue if it's already failed - fadump-howto: update about 'nocma' and 'off' options for 'fadump=' parameter