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"