Blame SOURCES/os-prober-umount-fix.patch

03b69a
Index: os-prober/common.sh
03b69a
===================================================================
03b69a
--- os-prober.orig/common.sh
03b69a
+++ os-prober/common.sh
03b69a
@@ -336,3 +336,13 @@ linux_mount_boot () {
03b69a
 
03b69a
 	mountboot="$bootpart $mounted"
03b69a
 }
03b69a
+
03b69a
+umount_exec=$(which umount)
03b69a
+umount() {
03b69a
+	if ! $umount_exec $@ 2> /dev/null; then
03b69a
+		error "umount error, retrying after 1 sec"
03b69a
+		sleep 1
03b69a
+		$umount_exec $@
03b69a
+	fi
03b69a
+}
03b69a
+