- fixed bug, which prevents installing 61-persistent-storage.rules (bug

#520109)
This commit is contained in:
Harald Hoyer 2009-09-07 09:44:58 +00:00
parent 831665e53b
commit d3fc767b67
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,25 @@
From 96f3cf1d27268f3784f420ebb52228f3e6b08e77 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
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

View File

@ -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 <harald@redhat.com> 001-3
- fixed bug, which prevents installing 61-persistent-storage.rules (bug #520109)
* Thu Sep 03 2009 Harald Hoyer <harald@redhat.com> 001-2
- fixed missing grep for md
- reorder cleanup