[os-prober] Fix bug in counting LVM LVs which their name contains 'btrfs' as btrfs volumes

Hedayat Vatankhah hedayat at fedoraproject.org
Sun Jul 6 18:14:09 UTC 2014


commit 1dd6bf909e9a7301e41e5d95769bafc85b2d6f86
Author: Hedayat Vatankhah <hedayat.fwd at gmail.com>
Date:   Sun Jul 6 22:43:56 2014 +0430

    Fix bug in counting LVM LVs which their name contains 'btrfs' as btrfs volumes

 os-prober-btrfsfix.patch |    2 +-
 os-prober.spec           |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/os-prober-btrfsfix.patch b/os-prober-btrfsfix.patch
index bce9414..b4325cb 100644
--- a/os-prober-btrfsfix.patch
+++ b/os-prober-btrfsfix.patch
@@ -244,7 +244,7 @@ Index: os-prober-1.58/os-prober
  	fi
 +
 +	# now lets make sure we got all of the btrfs partitions and disks
-+	blkid | grep btrfs | cut -d ':' -f 1
++	blkid | grep 'TYPE="btrfs"' | cut -d ':' -f 1
  }
  
  parse_proc_swaps () {
diff --git a/os-prober.spec b/os-prober.spec
index e1ec6dc..97ea25b 100644
--- a/os-prober.spec
+++ b/os-prober.spec
@@ -1,6 +1,6 @@
 Name:           os-prober
 Version:        1.58
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Probes disks on the system for installed operating systems
 
 Group:          System Environment/Base
@@ -102,6 +102,9 @@ fi
 %{_var}/lib/%{name}
 
 %changelog
+* Sun Jul 06 2014 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 1.58-8
+- Fix bug in counting LVM LVs which their name contains 'btrfs' as btrfs volumes
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.58-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list