aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-11-02 19:51:39 +0100
committerKhem Raj <raj.khem@gmail.com>2021-11-02 13:29:11 -0700
commit2c1a47df039d4e2a56a7c03e8aa873c97097fb3d (patch)
treef79872e7b7fa642ffc63d72e98c88167938577ff
parent59496f4207946b0fdf9b1949b6542f17416bfbf3 (diff)
downloadmeta-openembedded-contrib-2c1a47df039d4e2a56a7c03e8aa873c97097fb3d.tar.gz
collectd: Do not install /var/log
Previously it installed an empty /var/log without anything in it. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/collectd/collectd_5.12.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb b/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb
index b443afdb18..1c613b0977 100644
--- a/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb
+++ b/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb
@@ -70,8 +70,8 @@ do_install:append() {
# Fix configuration file to allow collectd to start up
sed -i 's!^#FQDNLookup[ \t]*true!FQDNLookup false!g' ${D}${sysconfdir}/collectd.conf
- rmdir "${D}${localstatedir}/run"
- rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
+ rmdir ${D}${localstatedir}/run ${D}${localstatedir}/log
+ rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
# Install systemd unit files
install -d ${D}${systemd_unitdir}/system