summaryrefslogtreecommitdiff
path: root/recipes-extended/logrotate/logrotate_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/logrotate/logrotate_%.bbappend')
-rw-r--r--recipes-extended/logrotate/logrotate_%.bbappend7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-extended/logrotate/logrotate_%.bbappend b/recipes-extended/logrotate/logrotate_%.bbappend
index efebecb..c8adb80 100644
--- a/recipes-extended/logrotate/logrotate_%.bbappend
+++ b/recipes-extended/logrotate/logrotate_%.bbappend
@@ -1,9 +1,14 @@
PR .= ".mlinux2"
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+SRC_URI[md5sum] = "8572b7c2cf9ade09a8a8e10098500fb3"
+SRC_URI[sha256sum] = "5bf8e478c428e7744fefa465118f8296e7e771c981fb6dffb7527856a0ea3617"
+
SRC_URI += "file://logrotate.conf"
+# consider Systemd here someday. Also prevent logrotate from starting if it is already running
+# use startdaemon?
do_install_append() {
# setup cron to run logrotate more often
rm -f ${D}${sysconfdir}/cron.daily/logrotate