diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-22 20:48:51 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-04-28 10:38:38 +0200 |
commit | e5c807b77fbe753e28483ae7d58d8a5dec676ace (patch) | |
tree | c719d92c331ac8682c5f92ebccb93be3b104b41d /meta-webserver/recipes-httpd/nginx/nginx.inc | |
parent | 21f10c11f39020f9502d741c774a12d1aeb39499 (diff) | |
download | meta-openembedded-contrib-e5c807b77fbe753e28483ae7d58d8a5dec676ace.tar.gz |
meta-webserver: 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-webserver/recipes-httpd/nginx/nginx.inc')
-rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index 2169b67c55..ebf926a201 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -66,7 +66,7 @@ do_configure () { do_install () { oe_runmake 'DESTDIR=${D}' install rm -fr ${D}${localstatedir}/run ${D}/run - if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/tmpfiles.d echo "d /run/${BPN} - - - -" \ > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |