dracut: use -q in post-install kernel hook, install logrotate file.
This commit is contained in:
parent
b837c7a9ed
commit
a74fbd2283
|
@ -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 $?
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user