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

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