[dracut/f15/master] - fixed empty output file argument handling: "dracut '' <kernel version>"

Harald Hoyer harald at fedoraproject.org
Tue Mar 29 08:37:44 UTC 2011


commit 4c004c93dabf4a16b8dce216fded1b368ac95a59
Author: Harald Hoyer <harald at redhat.com>
Date:   Tue Mar 29 10:38:36 2011 +0200

    - fixed empty output file argument handling:
      "dracut '' <kernel version>"

 dracut.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/dracut.spec b/dracut.spec
index 02d15f6..ac56e1f 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -8,7 +8,7 @@
 
 Name: dracut
 Version: 009
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 Summary: Initramfs generator using udev
 %if 0%{?fedora}
@@ -20,6 +20,8 @@ Group: System/Base
 License: GPLv2+ 
 URL: https://dracut.wiki.kernel.org/
 Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-009.tar.bz2
+Patch1: 0001-dracut-don-t-skip-zero-length-string-outfile-argumen.patch
+
 BuildArch: noarch
 
 %if 0%{?fedora}
@@ -152,6 +154,7 @@ This package contains tools to assemble the local initrd and host configuration.
 
 %prep
 %setup -q -n %{name}-%{version}%{?dashgittag}
+%patch1 -p1
 
 %build
 make WITH_SWITCH_ROOT=0%{?with_switch_root}
@@ -288,6 +291,10 @@ rm -rf $RPM_BUILD_ROOT
 %dir /var/lib/dracut/overlay
 
 %changelog
+* Tue Mar 29 2011 Harald Hoyer <harald at redhat.com> 009-2
+- fixed empty output file argument handling:
+  "dracut '' <kernel version>" 
+
 * Mon Mar 28 2011 Harald Hoyer <harald at redhat.com> 009-1
 - version 009
 


More information about the scm-commits mailing list