import kexec-tools-2.0.24-4.el8

This commit is contained in:
CentOS Sources 2022-06-28 22:12:52 +00:00 committed by Stepan Oksanichenko
parent ffc0aa03fd
commit b73de62460
2 changed files with 8 additions and 2 deletions

View File

@ -930,9 +930,12 @@ kdump_get_arch_recommend_size()
# $1: the block device to be checked in maj:min format
get_luks_crypt_dev()
{
local _type
[[ -b /dev/block/$1 ]] || return 1
local _type=$(eval "$(blkid -u filesystem,crypto -o export -- /dev/block/$1); echo \$TYPE")
_type=$(blkid -u filesystem,crypto -o export -- "/dev/block/$1" | \
sed -n -E "s/^TYPE=(.*)$/\1/p")
[[ $_type == "crypto_LUKS" ]] && echo $1
for _x in /sys/dev/block/$1/slaves/*; do

View File

@ -1,6 +1,6 @@
Name: kexec-tools
Version: 2.0.24
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Group: Applications/System
Summary: The kexec/kdump userspace component
@ -393,6 +393,9 @@ done
%endif
%changelog
* Tue Jun 21 2022 Pingfan Liu <piliu@redhat.com> - 2.0.24-4
- kdump-lib.sh: Check the output of blkid with sed instead of eval
* Fri Jun 10 2022 Pingfan Liu <piliu@redhat.com> - 2.0.24-3
- kdump.sysconfig*: add ignition.firstboot to KDUMP_COMMANDLINE_REMOVE