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/apache2 | |
| 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/apache2')
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2_2.4.20.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.20.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.20.bb index df2503421b..81151d1a47 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.20.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.20.bb | |||
| @@ -57,7 +57,7 @@ EXTRA_OECONF = "--enable-ssl \ | |||
| 57 | --enable-mpms-shared \ | 57 | --enable-mpms-shared \ |
| 58 | ac_cv_have_threadsafe_pollset=no" | 58 | ac_cv_have_threadsafe_pollset=no" |
| 59 | 59 | ||
| 60 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | 60 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" |
| 61 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" | 61 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" |
| 62 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" | 62 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" |
| 63 | 63 | ||
| @@ -86,7 +86,7 @@ do_install_append() { | |||
| 86 | # Set 'ServerName' to fix error messages when restart apache service | 86 | # Set 'ServerName' to fix error messages when restart apache service |
| 87 | sed -i 's/^#ServerName www.example.com/ServerName localhost/' ${D}/${sysconfdir}/${BPN}/httpd.conf | 87 | sed -i 's/^#ServerName www.example.com/ServerName localhost/' ${D}/${sysconfdir}/${BPN}/httpd.conf |
| 88 | 88 | ||
| 89 | if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 89 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 90 | install -d ${D}${sysconfdir}/tmpfiles.d/ | 90 | install -d ${D}${sysconfdir}/tmpfiles.d/ |
| 91 | install -m 0644 ${WORKDIR}/apache2-volatile.conf ${D}${sysconfdir}/tmpfiles.d/ | 91 | install -m 0644 ${WORKDIR}/apache2-volatile.conf ${D}${sysconfdir}/tmpfiles.d/ |
| 92 | fi | 92 | fi |
