fdc43a782b
- add os-prober-linux-secure-boot.patch (bnc#810912) * recognize linuxefi/initrdefi too OBS-URL: https://build.opensuse.org/request/show/162966 OBS-URL: https://build.opensuse.org/package/show/Base:System/os-prober?expand=0&rev=25
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From: Andrey Borzenkov <arvidjaar@gmail.com>
|
|
Subject: detect linuxefi/initrdefi secure bootloaders too
|
|
Reference: bnc#810912
|
|
|
|
Recognize initrdefi and linuxefi too. Whether linux/initrd or
|
|
linuxefi/initrdefi will be emitted is controlled by SECURE_BOOT
|
|
setting in /etc/sysconfig/bootloader.
|
|
Index: os-prober/linux-boot-probes/mounted/common/40grub2
|
|
===================================================================
|
|
--- os-prober.orig/linux-boot-probes/mounted/common/40grub2
|
|
+++ os-prober/linux-boot-probes/mounted/common/40grub2
|
|
@@ -64,7 +64,7 @@ parse_grub_menu () {
|
|
ignore_item=1
|
|
fi
|
|
;;
|
|
- linux[" "]*)
|
|
+ linux[" "]*|linuxefi[" "]*)
|
|
# And here we do NOT want to strip off
|
|
# existing quting, which will be transferred
|
|
# verbatim in new grub.cfg
|
|
@@ -83,7 +83,7 @@ parse_grub_menu () {
|
|
kernel="/boot$kernel"
|
|
fi
|
|
;;
|
|
- initrd[" "]*)
|
|
+ initrd[" "]*|initrdefi[" "]*)
|
|
# And here we do NOT want to strip off
|
|
# existing quting, which will be transferred
|
|
# verbatim in new grub.cfg
|