From 3e1a1197359860de2e283035c83f334637413f82 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 25 Sep 2024 03:14:24 +0300 Subject: [PATCH] import kexec-tools-2.0.26-14.el8_10.2 --- SOURCES/dracut-module-setup.sh | 2 +- SPECS/kexec-tools.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SOURCES/dracut-module-setup.sh b/SOURCES/dracut-module-setup.sh index 97be76f..c425816 100755 --- a/SOURCES/dracut-module-setup.sh +++ b/SOURCES/dracut-module-setup.sh @@ -326,7 +326,7 @@ kdump_setup_ifname() { # fadump to kdump. Skip prefixing 'kdump-' in this case as adding # another prefix may truncate the ifname. Since an ifname with # 'kdump-' is already persistent, this should be fine. - if [[ $1 =~ eth* ]] && [[ ! $1 =~ ^kdump-* ]]; then + if [[ $1 =~ ^eth.* ]] && [[ ! $1 =~ ^kdump-* ]]; then _ifname="kdump-$1" else _ifname="$1" diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index 4baaa28..ca5cc1e 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.26 -Release: 14%{?dist}.1 +Release: 14%{?dist}.2 License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component @@ -396,6 +396,9 @@ done %endif %changelog +* Tue Jul 30 2024 Pingfan Liu - 2.0.26-14.2 +- Use the correct regex to match eth.* + * Tue Jun 18 2024 Pingfan Liu - 2.0.26-14.1 - mkdumprd: Fix makedumpfile parameter check