Blame SOURCES/os-prober-grub2-mount-workaround.patch

a27a5b
diff --git a/os-probes/mounted/common/90linux-distro b/os-probes/mounted/common/90linux-distro
a27a5b
index 9bc5154..541079e 100755
a27a5b
--- a/os-probes/mounted/common/90linux-distro
a27a5b
+++ b/os-probes/mounted/common/90linux-distro
a27a5b
@@ -19,7 +19,7 @@ subvol="$5"
a27a5b
 # symlinks we need to also check in $dir/usr/lib* for distributions that
a27a5b
 # moved /lib* to /usr and only left symlinks behind.
a27a5b
 # TODO: look for ld-linux.so on arches that have it
a27a5b
-if (ls "$dir"/lib*/ld*.so* && [ -d "$dir/boot" ] || ls "$dir"/usr/lib*/ld*.so*) >/dev/null 2>/dev/null; then
a27a5b
+#if (ls "$dir"/lib*/ld*.so* && [ -d "$dir/boot" ] || ls "$dir"/usr/lib*/ld*.so*) >/dev/null 2>/dev/null; then
a27a5b
 	if [ -e "$dir/etc/os-release" ]; then
a27a5b
 		short="$(grep ^NAME= "$dir/etc/os-release" | sed 's/^[^=]*=//; s/^['\''"]\(.*\)['\''"]$/\1/; s/\\\(.\)/\1/g; s/[[:space:]].*//')"
a27a5b
 		long="$(grep ^PRETTY_NAME= "$dir/etc/os-release" | sed 's/^[^=]*=//; s/^['\''"]\(.*\)['\''"]$/\1/; s/\\\(.\)/\1/g')"
a27a5b
@@ -140,8 +140,9 @@ if (ls "$dir"/lib*/ld*.so* && [ -d "$dir/boot" ] || ls "$dir"/usr/lib*/ld*.so*)
a27a5b
 		short="Devuan"
a27a5b
 		long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"
a27a5b
 	else
a27a5b
-		short="Linux"
a27a5b
-		long="unknown Linux distribution"
a27a5b
+		exit 1
a27a5b
+#		short="Linux"
a27a5b
+#		long="unknown Linux distribution"
a27a5b
 	fi
a27a5b
 	
a27a5b
         label="$(count_next_label "$short")"
a27a5b
@@ -151,6 +152,6 @@ if (ls "$dir"/lib*/ld*.so* && [ -d "$dir/boot" ] || ls "$dir"/usr/lib*/ld*.so*)
a27a5b
 		result "$partition:$long:$label:linux"
a27a5b
 	fi
a27a5b
 	exit 0
a27a5b
-else
a27a5b
-	exit 1
a27a5b
-fi
a27a5b
+#else
a27a5b
+#	exit 1
a27a5b
+#fi