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

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