From b8a0bf4d8ab46079aa864a7d73d1d68cde96decd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 29 May 2012 15:09:29 +0200 Subject: [PATCH] dracut: depend on cpio and xz, fixed post-install kernel hook. --- srcpkgs/dracut/files/kernel-hook-postinst | 2 +- srcpkgs/dracut/template | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/dracut/files/kernel-hook-postinst b/srcpkgs/dracut/files/kernel-hook-postinst index 4454e7a0fe9..723dfeb4504 100644 --- a/srcpkgs/dracut/files/kernel-hook-postinst +++ b/srcpkgs/dracut/files/kernel-hook-postinst @@ -11,5 +11,5 @@ if [ ! -x /usr/bin/dracut ]; then exit 0 fi -dracut --xz --force ${VERSION} +dracut --xz --force /boot/initramfs-${VERSION}.img ${VERSION} exit $? diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index bc2ae9a4f9f..1d239050bfa 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -1,12 +1,12 @@ # Template file for 'dracut' pkgname=dracut version=018 -revision=3 +revision=4 noarch=yes build_style=gnu-makefile make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system" make_install_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system" -depends="busybox psmisc>=22.14_2" +depends="busybox psmisc>=22.14_2 cpio xz" makedepends="libxslt docbook-xsl" conf_files="/etc/dracut.conf" make_dirs="/etc/dracut.conf.d 0755 root root"