From 12a2a5b2e33df1bf372e86f89a32b0bce4169635 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 2 Jun 2022 14:32:08 +0000 Subject: [PATCH] Auto sync2gitlab import of kexec-tools-2.0.24-2.el8.src.rpm --- kdumpctl | 2 +- kexec-tools.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kdumpctl b/kdumpctl index ff49175..ec21495 100755 --- a/kdumpctl +++ b/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/kexec-tools.spec b/kexec-tools.spec index 2d3c3ca..4eec3d8 100644 --- a/kexec-tools.spec +++ b/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