Don't run 20-grub.install for UKIs
When kernel-install is called for a UKI, 20-grub.install copies it to /boot which is totally unneeded, UKIs are now handled by the standard systemd's 90-uki-copy.install (systemd-253+) correctly which places them to the ESP. Resolves: #RHEL-21368 Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
This commit is contained in:
parent
af60250e69
commit
dc354eb1d9
@ -19,6 +19,9 @@ MACHINE_ID=$KERNEL_INSTALL_MACHINE_ID
|
|||||||
# If ${BOOT_DIR_ABS} exists, some other boot loader is active.
|
# If ${BOOT_DIR_ABS} exists, some other boot loader is active.
|
||||||
[[ -d "${BOOT_DIR_ABS}" ]] && exit 0
|
[[ -d "${BOOT_DIR_ABS}" ]] && exit 0
|
||||||
|
|
||||||
|
# UKIs are BLS type 2 entries, 90-uki-copy.install takes care of them
|
||||||
|
[ "x$KERNEL_INSTALL_LAYOUT" != "xuki" ] || exit 0
|
||||||
|
|
||||||
BLS_DIR="/boot/loader/entries"
|
BLS_DIR="/boot/loader/entries"
|
||||||
|
|
||||||
mkbls() {
|
mkbls() {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Name: grub2
|
Name: grub2
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.06
|
Version: 2.06
|
||||||
Release: 73%{?dist}
|
Release: 74%{?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/
|
||||||
@ -533,6 +533,10 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 5 2024 Nicolas Frayer <nfrayer@redhat.com> - 2.06-74
|
||||||
|
- Don't run 20-grub.install for UKIs
|
||||||
|
- Resolves: #RHEL-21368
|
||||||
|
|
||||||
* Thu Jan 4 2024 Nicolas Frayer <nfrayer@redhat.com> - 2.06-73
|
* Thu Jan 4 2024 Nicolas Frayer <nfrayer@redhat.com> - 2.06-73
|
||||||
- search command: add flag to only search root dev
|
- search command: add flag to only search root dev
|
||||||
- Resolves: #RHEL-20526
|
- Resolves: #RHEL-20526
|
||||||
|
Loading…
Reference in New Issue
Block a user