diff -Nru os-prober-1.70ubuntu5/debian/changelog os-prober-1.70ubuntu6/debian/changelog --- os-prober-1.70ubuntu5/debian/changelog 2016-12-14 09:02:51.000000000 -0500 +++ os-prober-1.70ubuntu6/debian/changelog 2017-01-18 13:04:11.000000000 -0500 @@ -1,3 +1,11 @@ +os-prober (1.70ubuntu6) zesty; urgency=medium + + [ Mathieu Trudel-Lapierre ] + * os-probes/common/50mounted-tests: Add statement to skip partition probing detected as LVM2_member. + Fix NOT-DETECTED statement to skip partition detected as "". + + -- Eric Desrochers Wed, 18 Jan 2017 12:58:27 -0500 + os-prober (1.70ubuntu5) zesty; urgency=medium * debian/control: add missing Depends on grub-common (which ships grub-mount diff -Nru os-prober-1.70ubuntu5/os-probes/common/50mounted-tests os-prober-1.70ubuntu6/os-probes/common/50mounted-tests --- os-prober-1.70ubuntu5/os-probes/common/50mounted-tests 2016-12-12 21:10:06.000000000 -0500 +++ os-prober-1.70ubuntu6/os-probes/common/50mounted-tests 2017-01-18 12:58:21.000000000 -0500 @@ -6,12 +6,15 @@ . /usr/share/os-prober/common.sh types="$(fs_type "$partition")" || types=NOT-DETECTED -if [ "$types" = NOT-DETECTED ]; then +if [ "$types" = NOT-DETECTED ] || [ -z "$types" ]; then debug "$1 type not recognised; skipping" exit 0 elif [ "$types" = swap ]; then debug "$1 is a swap partition; skipping" exit 0 +elif [ "$types" = LVM2_member ]; then + debug "$1 is a LVM member partition; skipping" + exit 0 elif [ "$types" = crypto_LUKS ]; then debug "$1 is a LUKS partition; skipping" exit 0 @@ -58,7 +61,7 @@ type=fuseblk fi else - echo "Failed to probe for filesystem type" >&2 + echo "Failed to probe $partition for filesystem type" >&2 exit 1 fi