#28 Don't run 20-grub.install for UKIs
Closed 7 months ago by nfrayer. Opened 9 months ago by vittyvk.
rpms/ vittyvk/grub2 rawhide  into  rawhide

file modified
+3
@@ -19,6 +19,9 @@ 

  # If ${BOOT_DIR_ABS} exists, some other boot loader is active.

  [[ -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"

  

  mkbls() {

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.

Signed-off-by: Vitaly Kuznetsov vkuznets@redhat.com

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/67bcf9c36ea44e68b9fac6eac52b9e26

Pull-Request has been closed by nfrayer

7 months ago
Metadata