2c62f81481
- update to 1.81 - use %autosetup macro to unpack source and apply patch - drop patch for upstream * os-prober-multiple-initrd.patch - rediff * Improve-btrfs-handling-on-os-probing-for-grub2.patch * os-prober-linux-distro-avoid-expensive-ld-file-test.patch * os-prober-linux-distro-parse-os-release.patch * os-prober-linux-secure-boot.patch OBS-URL: https://build.opensuse.org/request/show/1044146 OBS-URL: https://build.opensuse.org/package/show/Base:System/os-prober?expand=0&rev=107
32 lines
831 B
Diff
32 lines
831 B
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.
|
|
---
|
|
linux-boot-probes/mounted/common/40grub2 | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/linux-boot-probes/mounted/common/40grub2
|
|
+++ b/linux-boot-probes/mounted/common/40grub2
|
|
@@ -71,7 +71,7 @@
|
|
ignore_item=1
|
|
fi
|
|
;;
|
|
- linux)
|
|
+ linux|linuxefi)
|
|
# Hack alert: sed off any (hdn,n) but
|
|
# assume the kernel is on the same
|
|
# partition.
|
|
@@ -84,7 +84,7 @@
|
|
kernel="/boot$kernel"
|
|
fi
|
|
;;
|
|
- initrd)
|
|
+ initrd|initrdefi)
|
|
shift
|
|
initrd=""
|
|
for initrd_path in "$@"; do
|