summaryrefslogtreecommitdiffstats
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-03 06:57:48 -0700
commit5330b95a64d0ab52d649844a578dafabdcf1ba00 (patch)
tree41d10e361ac02093230ceb1fc418c109c2fcfcb1
parenta61358b511ec96501937d5be6a89acd71d6e002f (diff)
downloadmeta-openembedded-5330b95a64d0ab52d649844a578dafabdcf1ba00.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() {
70 # Fix configuration file to allow collectd to start up 70 # Fix configuration file to allow collectd to start up
71 sed -i 's!^#FQDNLookup[ \t]*true!FQDNLookup false!g' ${D}${sysconfdir}/collectd.conf 71 sed -i 's!^#FQDNLookup[ \t]*true!FQDNLookup false!g' ${D}${sysconfdir}/collectd.conf
72 72
73 rmdir "${D}${localstatedir}/run" 73 rmdir ${D}${localstatedir}/run ${D}${localstatedir}/log
74 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" 74 rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
75 75
76 # Install systemd unit files 76 # Install systemd unit files
77 install -d ${D}${systemd_unitdir}/system 77 install -d ${D}${systemd_unitdir}/system