forked from pool/os-prober
8f472cc59a
- Version bump to 1.74: * Add support for Mageia * Improve logging of mounting and setting partitions to ro/rw * Use a read-only device-mapper entry if possible rather than setting the underlying device to read-only. Note that this introduces a dependency on dmsetup on Linux architectures. * Remove the "blockdev --setro" code path entirely, since the read-only device-mapper arrangement supersedes it and should be safer * Make the yaboot parser more tolerant about the syntax of "append" options * Disable debugging if OS_PROBER_DISABLE_DEBUG is set * Replace basename/dirname with shell string processing * Fix typos in README * Add Devuan detection * Work harder to avoid trying to mount extended partitions * Drop " (loader)" suffixes on Microsoft operating systems * Add support for 4MLinux * Use HTTPS for Vcs-* URLs, and link to cgit rather than gitweb. - Rediff * os-prober-1.49-grub2-mount.patch * os-prober-EFI-openSUSEfy.patch * os-prober-btrfs-always-detect-default.patch * os-prober-btrfsfix.patch * os-prober-dont-load-all-fs-module-and-dont-test-mount.patch * os-prober-fix-btrfs-subvol-mounted-tests.patch * os-prober-linux-distro-avoid-expensive-ld-file-test.patch * os-prober-linux-distro-parse-os-release.patch - Remove patches; fixed on upstream release * os-prober-call-dmraid-once.patch * os-prober-1.49-skip-LVM2_member.patch OBS-URL: https://build.opensuse.org/request/show/459143 OBS-URL: https://build.opensuse.org/package/show/Base:System/os-prober?expand=0&rev=73
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From: Andrey Borzenkov <arvidjaar@gmail.com>
|
|
Subject: keep UEFI scripts the same as they were in openSUSE
|
|
|
|
Small cosmetic changes to ensure UEFI scripts keep content
|
|
after upstream merged (slightly outdated) version of them.
|
|
|
|
- retain ELILO vendor prefix in case someone is really using it
|
|
|
|
- comment in 05efi is obviously wrong
|
|
Index: os-prober/os-probes/mounted/x86/efi/10elilo
|
|
===================================================================
|
|
--- os-prober.orig/os-probes/mounted/x86/efi/10elilo
|
|
+++ os-prober/os-probes/mounted/x86/efi/10elilo
|
|
@@ -11,7 +11,8 @@ elilo=`find $1 -name "elilo.efi"`
|
|
if [ -n "$elilo" ]; then
|
|
bdir="${elilo%/*}"
|
|
bdir="${elilo##*/}"
|
|
- long="ELILO Boot Manager"
|
|
+ vendor=$(echo $bdir | sed 's|SuSE|SUSE|')
|
|
+ long="${vendor} ELILO Boot Manager"
|
|
short="ELILO"
|
|
path=${bdir}/elilo.efi
|
|
found=true
|
|
Index: os-prober/os-probes/mounted/x86/05efi
|
|
===================================================================
|
|
--- os-prober.orig/os-probes/mounted/x86/05efi
|
|
+++ os-prober/os-probes/mounted/x86/05efi
|
|
@@ -1,5 +1,5 @@
|
|
#!/bin/sh
|
|
-# Detects all Microsoft OSes on a collection of partitions.
|
|
+# Detects all UEFI bootloaders on EFI System Partition
|
|
|
|
. /usr/share/os-prober/common.sh
|
|
|