]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
dracut: Update to 019.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 10 Jun 2012 14:08:30 +0000 (16:08 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 10 Jun 2012 14:08:30 +0000 (16:08 +0200)
The new dracut requires asciidoc to generate its manpages.

At least this version is required to generate a working initramfs after
the systemd / udev merge.

Fixes #10141.

dracut/dracut.nm

index 6890ab18ec348a8373eb2f555ed8804f97e6561b..26be6f7c5e29a0c813dc1bbb1258f426252a7ffb 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = dracut
-version    = 018
-release    = 2
+version    = 019
+release    = 1
 arch       = noarch
 
 groups     = System/Boot
@@ -22,6 +22,7 @@ sources    = %{thisapp}.tar.xz
 
 build
        requires
+               asciidoc
                docbook-utils
                docbook-xsl
        end
@@ -47,8 +48,8 @@ build
                cp -vf %{DIR_SOURCE}/ipfire.conf %{BUILDROOT}/etc/dracut.conf.d/ipfire.conf
 
                # Save package version.
-               echo "%{name}-%{version}-%{release}" > \
-                       %{BUILDROOT}%{dracutlibdir}/modules.d/10rpmversion/dracut-version
+               echo "DRACUT_VERSION=%{version}-%{release}" > \
+                       %{BUILDROOT}/%{dracutlibdir}/dracut-version.sh
 
                # Remove Gentoo specific module.
                rm -rvf %{BUILDROOT}%{dracutlibdir}/modules.d/50gensplash