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

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