diff --git a/0007-95udev-rules-fixed-c-p-bug-which-did-not-install-61.patch b/0007-95udev-rules-fixed-c-p-bug-which-did-not-install-61.patch new file mode 100644 index 0000000..8d39fce --- /dev/null +++ b/0007-95udev-rules-fixed-c-p-bug-which-did-not-install-61.patch @@ -0,0 +1,25 @@ +From 96f3cf1d27268f3784f420ebb52228f3e6b08e77 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Mon, 7 Sep 2009 11:40:20 +0200 +Subject: [PATCH 7/8] 95udev-rules: fixed c&p bug which did not install 61-persistent-storage.rules + +--- + modules.d/95udev-rules/install | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/modules.d/95udev-rules/install b/modules.d/95udev-rules/install +index cf22d1e..695e472 100755 +--- a/modules.d/95udev-rules/install ++++ b/modules.d/95udev-rules/install +@@ -23,7 +23,7 @@ if [ ! -x /lib/udev/vol_id ]; then + else + inst_rules "$moddir/59-persistent-storage-volid.rules" + fi +-inst_rules "$moddir/61-persistent-storage-volid.rules" ++inst_rules "$moddir/61-persistent-storage.rules" + + for i in \ + ata_id \ +-- +1.6.2.5 + diff --git a/dracut.spec b/dracut.spec index 6b2ad1e..b1a81d4 100644 --- a/dracut.spec +++ b/dracut.spec @@ -13,7 +13,7 @@ Name: dracut Version: 001 -Release: 2%{?rdist} +Release: 3%{?rdist} Summary: Initramfs generator using udev Group: System Environment/Base License: GPLv2+ @@ -22,7 +22,7 @@ Source0: dracut-%{version}%{?dashgittag}.tar.bz2 Patch1: 0005-mdraid-add-grep-for-convenience.patch Patch2: 0006--crypt-dmraid-lvm-mdraid-cleanup-with-pre-pivot-30.patch - +Patch3: 0007-95udev-rules-fixed-c-p-bug-which-did-not-install-61.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: udev @@ -109,6 +109,7 @@ This package contains tools to assemble the local initrd and host configuration. %setup -q -n %{name}-%{version}%{?dashgittag} %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build make @@ -185,6 +186,9 @@ rm -rf $RPM_BUILD_ROOT %dir /var/lib/dracut/overlay %changelog +* Mon Sep 07 2009 Harald Hoyer 001-3 +- fixed bug, which prevents installing 61-persistent-storage.rules (bug #520109) + * Thu Sep 03 2009 Harald Hoyer 001-2 - fixed missing grep for md - reorder cleanup