grubby-bls: in s390* systems, run zipl on grub cfg update event

Resolves: #RHEL-36092
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
This commit is contained in:
Leo Sandoval 2024-11-25 13:07:52 -06:00
parent e4d631d56e
commit 855ff97323
2 changed files with 10 additions and 2 deletions

View File

@ -630,7 +630,11 @@ update_grubcfg()
fi fi
if [[ $RUN_MKCONFIG = "true" ]]; then if [[ $RUN_MKCONFIG = "true" ]]; then
grub2-mkconfig --no-grubenv-update -o "${grub_config}" >& /dev/null if [[ $bootloader = "zipl" ]]; then
zipl
else
grub2-mkconfig --no-grubenv-update -o "${grub_config}" &> /dev/null
fi
fi fi
} }

View File

@ -3,7 +3,7 @@
Name: grubby Name: grubby
Version: 8.40 Version: 8.40
Release: 78%{?dist} Release: 79%{?dist}
Summary: Command line tool for updating bootloader configs Summary: Command line tool for updating bootloader configs
License: GPL-2.0-or-later License: GPL-2.0-or-later
Source1: grubby-bls Source1: grubby-bls
@ -74,6 +74,10 @@ fi
%{_mandir}/man8/grubby.8* %{_mandir}/man8/grubby.8*
%changelog %changelog
* Fri Dec 06 2024 Leo Sandoval <lsandova@redhat.com> - 8.40-79
- grubby-bls: in s390* systems, run zipl on grub cfg update event
Resolves: #RHEL-36092
* Thu Dec 05 2024 Leo Sandoval <lsandova@redhat.com> - 8.40-78 * Thu Dec 05 2024 Leo Sandoval <lsandova@redhat.com> - 8.40-78
- On grub cfg updates, run grub2-mkconfig for Xen systems - On grub cfg updates, run grub2-mkconfig for Xen systems
Resolves: #RHEL-70200 Resolves: #RHEL-70200