Blame SOURCES/os-prober-mounted-partitions-fix.patch

a27a5b
Index: os-prober/common.sh
a27a5b
===================================================================
a27a5b
--- os-prober.orig/common.sh
a27a5b
+++ os-prober/common.sh
a27a5b
@@ -146,7 +146,7 @@ parse_proc_mounts () {
a27a5b
 		set -f
a27a5b
 		set -- $line
a27a5b
 		set +f
a27a5b
-		printf '%s %s %s\n' "$(mapdevfs "$1")" "$2" "$3"
a27a5b
+		printf '%s %s %s %s\n' "$(mapdevfs "$1")" "$2" "$3" "$1"
a27a5b
 	done
a27a5b
 }
a27a5b
 
a27a5b
Index: os-prober/linux-boot-prober
a27a5b
===================================================================
a27a5b
--- os-prober.orig/linux-boot-prober
a27a5b
+++ os-prober/linux-boot-prober
a27a5b
@@ -167,7 +167,7 @@ else
a27a5b
 			bootpart="${mountboot%% *}"
a27a5b
 			bootmounted="${mountboot#* }"
a27a5b
 		else
a27a5b
-			bootpart="$partition"
a27a5b
+			bootpart="$(grep " $mpoint/boot " "$OS_PROBER_TMP/mounted-map" | head -n1 | cut -d " " -f 4)"
a27a5b
 			bootmounted=0
a27a5b
 		fi
a27a5b
 		for test in /usr/lib/linux-boot-probes/mounted/*; do