os-prober/os-prober-1.49-skip-LVM2_member.patch
Michael Chang 2decebc005 Accepting request 148750 from home:arvidjaar:bnc:798604
- add os-prober-1.49-skip-LVM2_member.patch (bnc#798604)
  * do not try to mount LVM2 PV

Bugzilla should be worked around by not using /etc/nothing in installation
system, but still this is bug in os-prober which is better fixed.

OBS-URL: https://build.opensuse.org/request/show/148750
OBS-URL: https://build.opensuse.org/package/show/Base:System/os-prober?expand=0&rev=13
2013-01-17 02:39:18 +00:00

15 lines
544 B
Diff

Index: os-prober/os-probes/common/50mounted-tests
===================================================================
--- os-prober.orig/os-probes/common/50mounted-tests
+++ os-prober/os-probes/common/50mounted-tests
@@ -15,6 +15,9 @@ elif [ "$types" = swap ]; then
elif [ "$types" = crypto_LUKS ]; then
debug "$1 is a LUKS partition; skipping"
exit 0
+elif [ "$types" = LVM2_member ]; then
+ debug "$1 is a LVM2 partition; skipping"
+ exit 0
elif [ "$types" = ntfs ]; then
if type ntfs-3g >/dev/null 2>&1; then
types='ntfs-3g ntfs'