summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-04-29 16:05:43 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2016-05-06 12:38:32 +0200
commite03e5d6688ad8e11bab3828cb8366f211fde9ebc (patch)
treeb8f88f1aac03b09db8dd003845f0b44400f199b3
parent546d55d8bbedf2da72cf9e5cf914ad2772b49959 (diff)
downloadmeta-openembedded-e03e5d6688ad8e11bab3828cb8366f211fde9ebc.tar.gz
netdata: replace deprecated 'base_contains' with 'bb.utils.contains'
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
index 88e3692d6..317ddccaf 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
@@ -33,7 +33,7 @@ do_install_append() {
33 #set S UID for plugins 33 #set S UID for plugins
34 chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin 34 chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin
35 35
36 if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then 36 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
37 # Install systemd unit files 37 # Install systemd unit files
38 install -d ${D}${systemd_unitdir}/system 38 install -d ${D}${systemd_unitdir}/system
39 install -m 0644 ${WORKDIR}/netdata.service ${D}${systemd_unitdir}/system 39 install -m 0644 ${WORKDIR}/netdata.service ${D}${systemd_unitdir}/system