scripts: Add a logrotate file for /var/log/boot.log

Since plymouth concatenates boot logs one after the other in
/var/log/boot.log, causing it to grow endlessly. we need to logrotrate it.

Fixes #31

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
calculate-0.9.5
Hans de Goede 5 years ago
parent e9d6020071
commit 5409977505

@ -6,9 +6,13 @@ initrdscript_SCRIPTS = plymouth-update-initrd plymouth-generate-initrd plymouth-
sbinscriptsdir = $(sbindir)
sbinscripts_SCRIPTS = plymouth-set-default-theme
bootlogdir = $(sysconfdir)/logrotate.d
bootlog_DATA = bootlog
EXTRA_DIST= plymouth-update-initrd \
plymouth-generate-initrd.in \
plymouth-populate-initrd.in \
plymouth-set-default-theme.in \
plymouth-set-default-theme.in \
$(noinst_SCRIPTS) \
bootlog \
default.cfg

@ -0,0 +1,8 @@
/var/log/boot.log
{
missingok
daily
copytruncate
rotate 7
notifempty
}
Loading…
Cancel
Save