mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
dracut: use -q in post-install kernel hook, install logrotate file.
This commit is contained in:
parent
b837c7a9ed
commit
a74fbd2283
2 changed files with 4 additions and 2 deletions
|
@ -11,5 +11,5 @@ if [ ! -x /usr/bin/dracut ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dracut --xz --force /boot/initramfs-${VERSION}.img ${VERSION}
|
dracut -q --xz --force /boot/initramfs-${VERSION}.img ${VERSION}
|
||||||
exit $?
|
exit $?
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dracut'
|
# Template file for 'dracut'
|
||||||
pkgname=dracut
|
pkgname=dracut
|
||||||
version=018
|
version=018
|
||||||
revision=4
|
revision=5
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"
|
make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"
|
||||||
|
@ -43,4 +43,6 @@ post_install() {
|
||||||
755 etc/kernel.d/post-install 10-dracut
|
755 etc/kernel.d/post-install 10-dracut
|
||||||
vinstall ${FILESDIR}/kernel-hook-postrm \
|
vinstall ${FILESDIR}/kernel-hook-postrm \
|
||||||
755 etc/kernel.d/post-remove 10-dracut
|
755 etc/kernel.d/post-remove 10-dracut
|
||||||
|
# logrotate file.
|
||||||
|
vinstall dracut.logrotate 644 etc/logrotate.d dracut
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue