From 7988dfe1a0af485f701a4bfa8022c97405205eea Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 18 Aug 2016 16:06:38 +0200 Subject: collectd: make /etc/collectd.conf a CONFFILE Getting your config nuked everytime you update collectd is annoying, so properly tag it as CONFFILES. Signed-off-by: Koen Kooi Signed-off-by: Martin Jansa --- meta-oe/recipes-extended/collectd/collectd_5.5.0.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oe/recipes-extended/collectd') diff --git a/meta-oe/recipes-extended/collectd/collectd_5.5.0.bb b/meta-oe/recipes-extended/collectd/collectd_5.5.0.bb index 9ec76c8a0..d7ba5b79c 100644 --- a/meta-oe/recipes-extended/collectd/collectd_5.5.0.bb +++ b/meta-oe/recipes-extended/collectd/collectd_5.5.0.bb @@ -77,6 +77,8 @@ do_install_append() { ${D}${systemd_unitdir}/system/collectd.service } +CONFFILES_${PN} = "${sysconfdir}/collectd.conf" + INITSCRIPT_NAME = "collectd" INITSCRIPT_PARAMS = "defaults" -- cgit v1.2.3-54-g00ecf