mkconfig/install: Remove BLS handling for XEN
Resolves: #RHEL-4386 Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
This commit is contained in:
parent
f6a3fef432
commit
038570df6f
@ -4,14 +4,6 @@ if ! [[ $KERNEL_INSTALL_MACHINE_ID ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
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.
|
|
||||||
if [[ -e /sys/hypervisor/type ]] && grep -q "^xen$" /sys/hypervisor/type; then
|
|
||||||
RUN_MKCONFIG=true
|
|
||||||
DISABLE_BLS=true
|
|
||||||
fi
|
|
||||||
|
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
# Older ppc64le OPAL firmware (petitboot version < 1.8.0) don't have BLS support
|
# Older ppc64le OPAL firmware (petitboot version < 1.8.0) don't have BLS support
|
||||||
# so grub2-mkconfig has to be run to generate a config with menuentry commands.
|
# so grub2-mkconfig has to be run to generate a config with menuentry commands.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Name: grub2
|
Name: grub2
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.06
|
Version: 2.06
|
||||||
Release: 81%{?dist}
|
Release: 82%{?dist}
|
||||||
Summary: Bootloader with support for Linux, Multiboot and more
|
Summary: Bootloader with support for Linux, Multiboot and more
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/grub/
|
URL: http://www.gnu.org/software/grub/
|
||||||
@ -537,6 +537,10 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 27 2024 Nicolas Frayer <nfrayer@redhat.com> - 2.06-82
|
||||||
|
- mkconfig/install: Remove BLS handling for XEN
|
||||||
|
- Resolves: #RHEL-4386
|
||||||
|
|
||||||
* Tue Jun 25 2024 Marta Lewandowska <mlewando@redhat.com> - 2.06-81
|
* Tue Jun 25 2024 Marta Lewandowska <mlewando@redhat.com> - 2.06-81
|
||||||
- grub.cfg: Fix an issue when doing a major version upgrade
|
- grub.cfg: Fix an issue when doing a major version upgrade
|
||||||
- Resolves: #RHEL-45008
|
- Resolves: #RHEL-45008
|
||||||
|
Loading…
Reference in New Issue
Block a user