From 00c52f6cb447a475007820b18b43384145586eeb Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Fri, 17 Apr 2009 10:42:36 +0000 Subject: [PATCH] Add MMC (mmcblk) device type to filters. (483686) --- lvm2-2_02_46-add-mmc-filter.patch | 21 +++++++++++++++++++++ lvm2.spec | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 lvm2-2_02_46-add-mmc-filter.patch diff --git a/lvm2-2_02_46-add-mmc-filter.patch b/lvm2-2_02_46-add-mmc-filter.patch new file mode 100644 index 0000000..74ffce9 --- /dev/null +++ b/lvm2-2_02_46-add-mmc-filter.patch @@ -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. diff --git a/lvm2.spec b/lvm2.spec index 05f7ecc..44c4152 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -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 - 2.02.45-4 +- Add MMC (mmcblk) device type to filters. (483686) + * Mon Mar 30 2009 Jussi Lehtola 2.02.45-3 - Add FTP server location to Source0.