diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index 97be76f4e2b46d6c2968fb4d318b2969cc56908f..c4258161639edd6ce9ed90dd05ac341d3d448253 100755 --- a/dracut-module-setup.sh +++ b/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/kexec-tools.spec b/kexec-tools.spec index 727ad0445457fbf9d8ceb419ddf7051bd8371380..8b3f612508097a7931da46e7731acefe47ff0f1e 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -2,7 +2,7 @@ Name: kexec-tools Version: 2.0.26 -Release: 14%{anolis_release}%{?dist}.1 +Release: 14%{anolis_release}%{?dist}.2 License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component @@ -432,7 +432,7 @@ done %doc live-image-kdump-howto.txt %changelog -* Fri Aug 30 2024 Youling Tang - 2.0.26-14.0.1.1 +* Fri Sep 27 2024 Youling Tang - 2.0.26-14.0.1.2 - Add LoongArch support - Add doc sub package (wb-zh951434@alibaba-inc.com) - Fix kexec error for kexec -s (xiangzao@linux.alibaba.com) @@ -441,6 +441,9 @@ done - Fix loongarch kexec issue cause by pstore segment. (wangming01@loongson.cn) - Fix loongarch build faild issue. (wangming01@loongson.cn) +* 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