File os-prober-linuxdistro-ufsfix.patch of Package os-prober

--- os-prober-1.56/os-probes/mounted/common/90linux-distro.orig	2012-09-25 09:12:46.000000000 -0700
+++ os-prober-1.56/os-probes/mounted/common/90linux-distro	2012-09-25 09:17:13.000000000 -0700
@@ -13,6 +13,9 @@
 # better. Make sure this test has a high number so that more accurate tests
 # can come first.
 # TODO: look for ld-linux.so on arches that have it
+
+# skip BSD slices
+if [ "$type" = "ufs" ]; then exit ; fi
 if ls "$dir"/lib*/ld*.so* >/dev/null 2>/dev/null && [ -d "$dir/boot" ] \
 	|| ls "$dir"/usr/lib*/ld*.so* >/dev/null 2>/dev/null; then
 	if [ -e "$dir/etc/debian_version" ]; then
openSUSE Build Service is sponsored by