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

This commit is contained in:
Hedayat Vatankhah 2014-07-06 22:43:56 +04:30
parent 4eb5f809c7
commit 1dd6bf909e
2 changed files with 5 additions and 2 deletions

View File

@ -244,7 +244,7 @@ Index: os-prober-1.58/os-prober
fi fi
+ +
+ # now lets make sure we got all of the btrfs partitions and disks + # 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 () { parse_proc_swaps () {

View File

@ -1,6 +1,6 @@
Name: os-prober Name: os-prober
Version: 1.58 Version: 1.58
Release: 7%{?dist} Release: 8%{?dist}
Summary: Probes disks on the system for installed operating systems Summary: Probes disks on the system for installed operating systems
Group: System Environment/Base Group: System Environment/Base
@ -102,6 +102,9 @@ fi
%{_var}/lib/%{name} %{_var}/lib/%{name}
%changelog %changelog
* Sun Jul 06 2014 Hedayat Vatankhah <hedayat.fwd+rpmchlog@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@lists.fedoraproject.org> - 1.58-7 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.58-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild