[oe-commits] [meta-openembedded] 10/51: netdata: replace deprecated 'base_contains' with 'bb.utils.contains'

git at git.openembedded.org git at git.openembedded.org
Thu May 5 15:20:46 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit b903bfe2e3e1dc1ee78ca5dcc4c9690089209372
Author: Derek Straka <derek at asterius.io>
AuthorDate: Fri Apr 29 16:05:43 2016 -0400

    netdata: replace deprecated 'base_contains' with 'bb.utils.contains'
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-webserver/recipes-webadmin/netdata/netdata_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
index 88e3692..317ddcc 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() {
     #set S UID for plugins
     chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin
 
-    if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
         # Install systemd unit files
         install -d ${D}${systemd_unitdir}/system
         install -m 0644 ${WORKDIR}/netdata.service ${D}${systemd_unitdir}/system

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list