From 1dd6bf909e9a7301e41e5d95769bafc85b2d6f86 Mon Sep 17 00:00:00 2001 From: Hedayat Vatankhah Date: Sun, 6 Jul 2014 22:43:56 +0430 Subject: [PATCH] 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 - 1.58-8 +- Fix bug in counting LVM LVs which their name contains 'btrfs' as btrfs volumes + * Sat Jun 07 2014 Fedora Release Engineering - 1.58-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild