]> code.ossystems Code Review - openembedded-core.git/commit
logrotate: Improve configurability of the installed systemd service files
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 19 Jul 2018 18:19:39 +0000 (20:19 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2018 12:16:31 +0000 (13:16 +0100)
commitca3f2f6b49edee7052ef941228dc477d9060bdd9
tree6d276851883f23067fe90dc8685e6daf046234af
parentd227122d929330ff71a550689aaedc5d8299d859
logrotate: Improve configurability of the installed systemd service files

This makes it possible to add extra options to the logrotate
application (via ${LOGROTATE_OPTIONS}), and it allows the Persistent
option in logrotate.timer to be configured via
${LOGROTATE_SYSTEMD_TIMER_PERSISTENT}.

It also changes the sed expressions to allow for
${LOGROTATE_SYSTEMD_TIMER_BASIS} to contain commas without having to
prefix them with backslahes, e.g.:
LOGROTATE_SYSTEMD_TIMER_BASIS = "*-*-* *:00,30:00"

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/logrotate/logrotate_3.14.0.bb