Import from CS git
This commit is contained in:
parent
afd6c69c89
commit
8e7df7898c
@ -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"
|
||||
|
@ -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 <piliu@redhat.com> - 2.0.26-14.2
|
||||
- Use the correct regex to match eth.*
|
||||
|
||||
* Tue Jun 18 2024 Pingfan Liu <piliu@redhat.com> - 2.0.26-14.1
|
||||
- mkdumprd: Fix makedumpfile parameter check
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user