Debrand for AlmaLinux

This commit is contained in:
Eduard Abdullin 2025-04-09 01:42:44 +00:00 committed by root
commit ec87815ca3
2 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,12 @@ if ! [[ $KERNEL_INSTALL_MACHINE_ID ]]; then
exit 0
fi
# Run grub2-mkconfig if ENABLE_BLSCFG is false
if grep -s -q '^GRUB_ENABLE_BLSCFG="*false"*\s*$' /etc/default/grub; then
RUN_MKCONFIG=true
DISABLE_BLS=true
fi
# PV and PVH Xen DomU guests boot with pygrub that doesn't have BLS support,
# also Xen Dom0 use the menuentries from 20_linux_xen and not the ones from
# 10_linux. So BLS support needs to be disabled for both Xen Dom0 and DomU.

View File

@ -17,7 +17,7 @@
Name: grub2
Epoch: 1
Version: 2.12
Release: 14%{?dist}.alma.1
Release: 15%{?dist}.alma.1
Summary: Bootloader with support for Linux, Multiboot and more
License: GPL-3.0-or-later
URL: http://www.gnu.org/software/grub/
@ -574,9 +574,13 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
%endif
%changelog
* Wed Mar 26 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1:2.12-14.alma.1
* Wed Apr 09 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1:2.12-15.alma.1
- Debrand for AlmaLinux
* Mon Apr 7 2025 Marta Lewandowska <mlewando@redhat.com> - 2.12-15
- 99-grub-mkconfig.install: Disable BLS and run grub2-mkconfig when GRUB_ENABLE_BLSCFG is disable
- Resolves: #RHEL-86261
* Tue Mar 25 2025 Nicolas Frayer <nfrayer@redhat.com> 2.12-14
- ieee1275/ofnet: Fix grub_malloc() removed after added safe
- Related: #RHEL-80073