Summary: Initramfs generator using udev
Name: dracut
Version: 020
-Release: 3
+Release: 4
License: GPL v2+
Group: Base
Source0: ftp://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
Patch2: plymouth-libexec.patch
Patch3: reboot-opts.patch
Patch4: os-release.patch
+Patch5: plymouth-logo.patch
URL: https://dracut.wiki.kernel.org/
BuildRequires: dash
BuildRequires: docbook-dtd45-xml
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/50plymouth/module-setup.sh
--- /dev/null
+--- dracut-020/modules.d/50plymouth/plymouth-populate-initrd.sh~ 2012-08-09 13:49:07.894845601 +0200
++++ dracut-020/modules.d/50plymouth/plymouth-populate-initrd.sh 2012-08-09 13:50:43.211508906 +0200
+@@ -6,9 +6,10 @@
+
+ inst /sbin/plymouthd /bin/plymouthd
+ dracut_install /bin/plymouth \
+- "${PLYMOUTH_LOGO_FILE}" \
+ /etc/os-release
+
++[[ -f "${PLYMOUTH_LOGO_FILE}" ]] && dracut_install "${PLYMOUTH_LOGO_FILE}"
++
+ mkdir -m 0755 -p "${initdir}/usr/share/plymouth"
+
+ inst_libdir_file "plymouth/text.so" "plymouth/details.so"