diff --git a/srcpkgs/dracut/files/kernel-hook-postinst b/srcpkgs/dracut/files/kernel-hook-postinst index 723dfeb4504..74ea81783fe 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 /boot/initramfs-${VERSION}.img ${VERSION} +dracut -q --xz --force /boot/initramfs-${VERSION}.img ${VERSION} exit $? diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index 1d239050bfa..7a1cd88a0f2 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -1,7 +1,7 @@ # Template file for 'dracut' pkgname=dracut version=018 -revision=4 +revision=5 noarch=yes build_style=gnu-makefile make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system" @@ -43,4 +43,6 @@ post_install() { 755 etc/kernel.d/post-install 10-dracut vinstall ${FILESDIR}/kernel-hook-postrm \ 755 etc/kernel.d/post-remove 10-dracut + # logrotate file. + vinstall dracut.logrotate 644 etc/logrotate.d dracut }