Add MMC (mmcblk) device type to filters. (483686)

This commit is contained in:
Milan Broz 2009-04-17 10:42:36 +00:00
parent c70071cb4f
commit 00c52f6cb4
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,21 @@
--- LVM2.2.02.45.old/lib/filters/filter.c 2008-04-03 12:29:00.000000000 +0200
+++ LVM2.2.02.45/lib/filters/filter.c 2009-04-17 12:33:25.000000000 +0200
@@ -78,6 +78,7 @@ static const device_info_t device_info[]
{"vdisk", 8}, /* SUN's LDOM virtual block device */
{"ps3disk", 16}, /* PlayStation 3 internal disk */
{"virtblk", 8}, /* VirtIO disk */
+ {"mmc", 16}, /* MMC block device */
{NULL, 0}
};
diff -rup LVM2.2.02.45.old/WHATS_NEW LVM2.2.02.45/WHATS_NEW
--- LVM2.2.02.45.old/WHATS_NEW 2009-03-03 17:35:32.000000000 +0100
+++ LVM2.2.02.45/WHATS_NEW 2009-04-17 12:33:54.000000000 +0200
@@ -1,3 +1,7 @@
+Version 2.02.46 -
+================================
+ Add MMC (mmcblk) device type to filters.
+
Version 2.02.45 - 3rd March 2009
================================
Avoid scanning empty metadata areas for VG names.

View File

@ -8,7 +8,7 @@
Summary: Userland logical volume management tools
Name: lvm2
Version: 2.02.45
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Group: System Environment/Base
URL: http://sources.redhat.com/lvm2
@ -16,6 +16,7 @@ Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
# Customise lvmconf.sh for built-in clustered locking in Fedora
Patch0: cluster-locking-built-in.patch
Patch1: lvm2-2_02_46-add-mmc-filter.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
@ -41,6 +42,7 @@ or more physical volumes and creating one or more logical volumes
%prep
%setup -q -n LVM2.%{version}
%patch0 -p1 -b .locking
%patch1 -p1 -b .mmc
%build
%define _exec_prefix /
@ -266,6 +268,9 @@ This package contains the device-mapper shared library, libdevmapper.
%changelog
* Fri Apr 17 2009 Milan Broz <mbroz@redhat.com> - 2.02.45-4
- Add MMC (mmcblk) device type to filters. (483686)
* Mon Mar 30 2009 Jussi Lehtola <jussi.lehtola@iki.fi> 2.02.45-3
- Add FTP server location to Source0.