diff --git a/srcpkgs/dracut/files/kernel-hook-postinst b/srcpkgs/dracut/files/kernel-hook-postinst index f82e0a8b4bb..a9d265b6ed6 100644 --- a/srcpkgs/dracut/files/kernel-hook-postinst +++ b/srcpkgs/dracut/files/kernel-hook-postinst @@ -7,14 +7,9 @@ PKGNAME="$1" VERSION="$2" -if [ ! -x usr/bin/dracut ]; then +if [ ! -x bin/dracut ]; then exit 0 fi -if [ -x /bin/lz4 ]; then - args="--lz4" -elif [ -x /bin/xz ]; then - args="--xz" -fi -dracut -q --force $args boot/initramfs-${VERSION}.img ${VERSION} +dracut -q --force boot/initramfs-${VERSION}.img ${VERSION} exit $? diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index dcf6e5b5a0f..49486d0d687 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -1,7 +1,7 @@ # Template file for 'dracut' pkgname=dracut version=043 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc" hostmakedepends="libxslt docbook-xsl asciidoc"