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