summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2019-06-28 09:48:16 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-06-28 10:07:10 +0200
commit59a84cd142236ceef4a6c65926f53b171e0772a0 (patch)
tree5daba58080f796c8e8554fd5ed2a88908888ee41
parent9e4aa5dec5618149ed888ff3bd9b890db857c25a (diff)
downloadptxdist-59a84cd142236ceef4a6c65926f53b171e0772a0.tar.gz
ptxdist-59a84cd142236ceef4a6c65926f53b171e0772a0.tar.xz
logrotate: adapt package's '/var/lib' requirements
Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/logrotate.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/logrotate.in b/rules/logrotate.in
index 202dee573..097804017 100644
--- a/rules/logrotate.in
+++ b/rules/logrotate.in
@@ -5,6 +5,7 @@ menuconfig LOGROTATE
prompt "logrotate "
select LIBPOPT
select ACL if LOGROTATE_ACL
+ select ROOTFS_VAR_LIB if RUNTIME
help
The logrotate utility is designed to simplify the
administration of log files on a system which generates a lot
@@ -14,6 +15,9 @@ menuconfig LOGROTATE
log file gets to a certain size. Normally, logrotate runs as
a daily cron job.
+ Note: on a read-only root filesystem this package still requires a
+ writable '/var/lib' for its run-time information.
+
if LOGROTATE
config LOGROTATE_ACL