diff --git a/dracut-0.9-vol_id.patch b/dracut-0.9-vol_id.patch new file mode 100644 index 0000000..3001bb1 --- /dev/null +++ b/dracut-0.9-vol_id.patch @@ -0,0 +1,11 @@ +diff -up dracut-0.9/modules.d/95udev-rules/install.vol_id dracut-0.9/modules.d/95udev-rules/install +--- dracut-0.9/modules.d/95udev-rules/install.vol_id 2009-08-27 14:43:25.000000000 +0200 ++++ dracut-0.9/modules.d/95udev-rules/install 2009-08-27 14:43:33.000000000 +0200 +@@ -32,6 +32,7 @@ hid2hci \ + path_id \ + scsi_id \ + usb_id \ ++vol_id \ + ; do + [ -x /lib/udev/$i ] && dracut_install /lib/udev/$i + done diff --git a/dracut.spec b/dracut.spec index 8972bca..eaf145e 100644 --- a/dracut.spec +++ b/dracut.spec @@ -13,7 +13,7 @@ Name: dracut Version: 0.9 -Release: 1%{?rdist} +Release: 2%{?rdist} Summary: Initramfs generator using udev Group: System Environment/Base License: GPLv2+ @@ -53,6 +53,8 @@ Requires: util-linux-ng >= 2.16 BuildArch: noarch %endif +Patch1: dracut-0.9-vol_id.patch + %description dracut is a new, event-driven initramfs infrastructure based around udev. @@ -95,6 +97,7 @@ This package contains tools to assemble the local initrd and host configuration. %prep %setup -q -n %{name}-%{version}%{?dashgittag} +%patch1 -p1 %build make @@ -145,6 +148,9 @@ rm -rf $RPM_BUILD_ROOT %dir /var/lib/dracut/overlay %changelog +* Thu Aug 27 2009 Harald Hoyer 0.9-2 +- patch dracut to install vol_id + * Fri Aug 14 2009 Harald Hoyer 0.9-1 - version 0.9 - see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut;a=blob_plain;f=NEWS