import kexec-tools-2.0.20-56.el8
This commit is contained in:
parent
830dcd5c4c
commit
3c71e580a2
|
@ -1221,7 +1221,7 @@ do_estimate() {
|
||||||
local kdump_mods
|
local kdump_mods
|
||||||
local -A large_mods
|
local -A large_mods
|
||||||
local baseline
|
local baseline
|
||||||
local kernel_size mod_size initrd_size baseline_size runtime_size reserved_size estimated_size recommanded_size
|
local kernel_size mod_size initrd_size baseline_size runtime_size reserved_size estimated_size recommended_size
|
||||||
local size_mb=$(( 1024 * 1024 ))
|
local size_mb=$(( 1024 * 1024 ))
|
||||||
|
|
||||||
setup_initrd
|
setup_initrd
|
||||||
|
@ -1279,13 +1279,13 @@ do_estimate() {
|
||||||
|
|
||||||
estimated_size=$((kernel_size + mod_size + initrd_size + runtime_size + crypt_size))
|
estimated_size=$((kernel_size + mod_size + initrd_size + runtime_size + crypt_size))
|
||||||
if [[ $baseline_size -gt $estimated_size ]]; then
|
if [[ $baseline_size -gt $estimated_size ]]; then
|
||||||
recommanded_size=$baseline_size
|
recommended_size=$baseline_size
|
||||||
else
|
else
|
||||||
recommanded_size=$estimated_size
|
recommended_size=$estimated_size
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Reserved crashkernel: $((reserved_size / size_mb))M"
|
echo "Reserved crashkernel: $((reserved_size / size_mb))M"
|
||||||
echo "Recommanded crashkernel: $((recommanded_size / size_mb))M"
|
echo "Recommended crashkernel: $((recommended_size / size_mb))M"
|
||||||
echo
|
echo
|
||||||
echo "Kernel image size: $((kernel_size / size_mb))M"
|
echo "Kernel image size: $((kernel_size / size_mb))M"
|
||||||
echo "Kernel modules size: $((mod_size / size_mb))M"
|
echo "Kernel modules size: $((mod_size / size_mb))M"
|
||||||
|
@ -1303,8 +1303,8 @@ do_estimate() {
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $reserved_size -lt $recommanded_size ]]; then
|
if [[ $reserved_size -lt $recommended_size ]]; then
|
||||||
echo "WARNING: Current crashkernel size is lower than recommanded size $((recommanded_size / size_mb))M."
|
echo "WARNING: Current crashkernel size is lower than recommended size $((recommended_size / size_mb))M."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.20
|
Version: 2.0.20
|
||||||
Release: 55%{?dist}
|
Release: 56%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component
|
Summary: The kexec/kdump userspace component
|
||||||
|
@ -406,6 +406,9 @@ done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 6 2021 Pingfan Liu <piliu@redhat.com> - 2.0.20-56
|
||||||
|
- kdumpctl: fix a typo
|
||||||
|
|
||||||
* Mon Aug 2 2021 Pingfan Liu <piliu@redhat.com> - 2.0.20-55
|
* Mon Aug 2 2021 Pingfan Liu <piliu@redhat.com> - 2.0.20-55
|
||||||
- kdump/ppc64: migration action registration clean up
|
- kdump/ppc64: migration action registration clean up
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue