From 3f81fd7097ec931ebf6d862622e6d81834483dbb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Jan 2021 00:37:32 +0000 Subject: sys-boot/os-prober : shamelessly take all the patches from openSUSE Factory to make it work --- sys-boot/os-prober/files/os-prober-SUSE.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sys-boot/os-prober/files/os-prober-SUSE.patch (limited to 'sys-boot/os-prober/files/os-prober-SUSE.patch') diff --git a/sys-boot/os-prober/files/os-prober-SUSE.patch b/sys-boot/os-prober/files/os-prober-SUSE.patch new file mode 100644 index 00000000..15b9e843 --- /dev/null +++ b/sys-boot/os-prober/files/os-prober-SUSE.patch @@ -0,0 +1,13 @@ +Index: os-prober-1.57/os-probes/mounted/common/90linux-distro +=================================================================== +--- os-prober-1.57.orig/os-probes/mounted/common/90linux-distro ++++ os-prober-1.57/os-probes/mounted/common/90linux-distro +@@ -84,7 +84,7 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/ + short="RedHat" + long="$(cat "$dir/etc/redhat-release")" + elif [ -e "$dir/etc/SuSE-release" ]; then +- short="SuSE" ++ short="SUSE" + long="$(head -n 1 "$dir/etc/SuSE-release")" + elif [ -e "$dir/etc/gentoo-release" ]; then + short="Gentoo" -- cgit v1.2.3