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/hiawatha | |
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/hiawatha')
-rw-r--r-- | meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb index 31293e48f9..7062174790 100644 --- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb +++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb @@ -48,7 +48,7 @@ do_install_append() { # by default if php is installed echo "Server = ${bindir}/php-cgi ; 2 ; 127.0.0.1:2005 ; nobody:nobody ; ${sysconfdir}/php/hiawatha-php5/php.ini" >> ${D}${sysconfdir}/hiawatha/php-fcgi.conf - if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then install -d ${D}/${systemd_unitdir}/system install -m 644 ${WORKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system fi |