diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-22 20:48:49 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-04-28 10:38:38 +0200 |
commit | 21f10c11f39020f9502d741c774a12d1aeb39499 (patch) | |
tree | fdc66c039950da89d82b6b7405ebfc50cbba693a /meta-oe/recipes-extended/corosync | |
parent | 723b55f5c1f7df21dbcfa7cb2dcaecb10d886041 (diff) | |
download | meta-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/corosync')
-rw-r--r-- | meta-oe/recipes-extended/corosync/corosync_2.3.5.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb b/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb index 08c089385..508277e76 100644 --- a/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb +++ b/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb | |||
@@ -41,7 +41,7 @@ do_install_append() { | |||
41 | install -m 0644 ${S}/init/corosync.in ${D}${sysconfdir}/init.d/corosync | 41 | install -m 0644 ${S}/init/corosync.in ${D}${sysconfdir}/init.d/corosync |
42 | install -m 0644 ${S}/init/corosync-notifyd.in ${D}${sysconfdir}/init.d/corosync-notifyd | 42 | install -m 0644 ${S}/init/corosync-notifyd.in ${D}${sysconfdir}/init.d/corosync-notifyd |
43 | 43 | ||
44 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 44 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
45 | install -d ${D}${systemd_unitdir}/system | 45 | install -d ${D}${systemd_unitdir}/system |
46 | install -m 0644 ${S}/init/corosync.service.in ${D}${systemd_unitdir}/system/corosync.service | 46 | install -m 0644 ${S}/init/corosync.service.in ${D}${systemd_unitdir}/system/corosync.service |
47 | install -m 0644 ${S}/init/corosync-notifyd.service.in ${D}${systemd_unitdir}/system/corosync-notifyd.service | 47 | install -m 0644 ${S}/init/corosync-notifyd.service.in ${D}${systemd_unitdir}/system/corosync-notifyd.service |