summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-22 20:48:49 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-04-28 10:38:38 +0200
commit21f10c11f39020f9502d741c774a12d1aeb39499 (patch)
treefdc66c039950da89d82b6b7405ebfc50cbba693a /meta-oe/recipes-extended/dlm/dlm_4.0.2.bb
parent723b55f5c1f7df21dbcfa7cb2dcaecb10d886041 (diff)
downloadmeta-openembedded-21f10c11f39020f9502d741c774a12d1aeb39499.tar.gz
meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/dlm/dlm_4.0.2.bb')
-rw-r--r--meta-oe/recipes-extended/dlm/dlm_4.0.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb b/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb
index 560630c74..ff3730563 100644
--- a/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb
+++ b/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb
@@ -37,7 +37,7 @@ do_install_append (){
37 install -m 0644 ${S}/init/dlm.init ${D}${sysconfdir}/init.d/dlm 37 install -m 0644 ${S}/init/dlm.init ${D}${sysconfdir}/init.d/dlm
38 38
39 # install systemd unit files 39 # install systemd unit files
40 if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then 40 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
41 install -d ${D}${systemd_unitdir}/system 41 install -d ${D}${systemd_unitdir}/system
42 install -m 0644 ${S}/init/dlm.service ${D}${systemd_unitdir}/system 42 install -m 0644 ${S}/init/dlm.service ${D}${systemd_unitdir}/system
43 fi 43 fi