Don't exit 1 from 92-crashkernel.install if zipl is absent (#1993505)

At least, this is a plausible suspect for #1993505 - thanks to
@kevin for identifying it - and fixing it should be safe and
correct, so we may as well do it and see if it helps.
This commit is contained in:
Adam Williamson 2021-08-31 16:07:51 -07:00
parent 6c390b70e8
commit 5270d40dd0
2 changed files with 5 additions and 2 deletions

View File

@ -61,7 +61,7 @@ set_kernel_ck() {
[[ -f /etc/zipl.conf ]] && zipl_arg="--zipl" [[ -f /etc/zipl.conf ]] && zipl_arg="--zipl"
grubby --args "$ck_cmdline" --update-kernel "$entry" $zipl_arg grubby --args "$ck_cmdline" --update-kernel "$entry" $zipl_arg
[[ $zipl_arg ]] && zipl > /dev/null [[ $zipl_arg ]] && zipl > /dev/null ||:
} }
case "$COMMAND" in case "$COMMAND" in

View File

@ -5,7 +5,7 @@
Name: kexec-tools Name: kexec-tools
Version: 2.0.22 Version: 2.0.22
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv2 License: GPLv2
Summary: The kexec/kdump userspace component Summary: The kexec/kdump userspace component
@ -384,6 +384,9 @@ done
%endif %endif
%changelog %changelog
* Tue Aug 31 2021 Adam Williamson <awilliam@redhat.com> - 2.0.22-7
- Don't exit 1 from 92-crashkernel.install if zipl is absent (#1993505)
* Fri Aug 20 2021 Kairui Song <kasong@redhat.com> - 2.0.22-6 * Fri Aug 20 2021 Kairui Song <kasong@redhat.com> - 2.0.22-6
- Remove hard requirement on grubby - Remove hard requirement on grubby
- Clear old crashkernl=auto in comment and doc - Clear old crashkernl=auto in comment and doc