From f03670914518c4ae01a3e949b4eb27e69c1d0626 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 2 Jun 2022 12:11:08 +0000 Subject: [PATCH] import kexec-tools-2.0.24-2.el8 --- SOURCES/kdumpctl | 2 +- SPECS/kexec-tools.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SOURCES/kdumpctl b/SOURCES/kdumpctl index ff49175..ec21495 100755 --- a/SOURCES/kdumpctl +++ b/SOURCES/kdumpctl @@ -216,7 +216,7 @@ restore_default_initrd() mv $DEFAULT_INITRD_BAK $DEFAULT_INITRD if [[ $? -eq 0 ]]; then derror "Restoring original initrd as fadump mode is disabled." - sync -f "DEFAULT_INITRD" + sync -f "$DEFAULT_INITRD" fi fi fi diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index 2d3c3ca..4eec3d8 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.24 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component @@ -393,6 +393,9 @@ done %endif %changelog +* Fri May 27 2022 Pingfan Liu - 2.0.24-2 +- kdumpctl: fix missed dollar sign + * Thu May 5 2022 Pingfan Liu - 2.0.24-1 - kdumpctl: sync the $TARGET_INITRD after rebuild - Avoid false-positive mem_section validation with vmlinux