From b256e1f9a6104e29ef3b4c86823a699ac5cfac9e Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Dec 07 2021 12:06:48 +0000 Subject: Don't exit 1 from 92-crashkernel.install if zipl is absent (#1993505) upstream: fedora related: bz2003832 conflict: yes, the upstream patch modified kexec-tools.spec for a new fedora release, thus the modification is removed when backporting. commit 5270d40dd0b690d4be628f937e508cdc80dab1d9 Author: Adam Williamson Date: Tue Aug 31 16:07:51 2021 -0700 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. Signed-off-by: Tao Liu --- diff --git a/92-crashkernel.install b/92-crashkernel.install index 90678c8..78365ff 100755 --- a/92-crashkernel.install +++ b/92-crashkernel.install @@ -61,7 +61,7 @@ set_kernel_ck() { [[ -f /etc/zipl.conf ]] && zipl_arg="--zipl" grubby --args "$ck_cmdline" --update-kernel "$entry" $zipl_arg - [[ $zipl_arg ]] && zipl > /dev/null + [[ $zipl_arg ]] && zipl > /dev/null ||: } case "$COMMAND" in