mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
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. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
This commit is contained in:
parent
e1206cf45b
commit
45dbc926bf
1 changed files with 3 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue