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-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 () { | |||
66 | do_install () { | 66 | do_install () { |
67 | oe_runmake 'DESTDIR=${D}' install | 67 | oe_runmake 'DESTDIR=${D}' install |
68 | rm -fr ${D}${localstatedir}/run ${D}/run | 68 | rm -fr ${D}${localstatedir}/run ${D}/run |
69 | if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 69 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
70 | install -d ${D}${sysconfdir}/tmpfiles.d | 70 | install -d ${D}${sysconfdir}/tmpfiles.d |
71 | echo "d /run/${BPN} - - - -" \ | 71 | echo "d /run/${BPN} - - - -" \ |
72 | > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 72 | > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |