diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2016-12-21 10:22:41 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-12-21 11:47:05 -0500 |
commit | bd2525ceb47699747f9370773fa629bf28c999d6 (patch) | |
tree | 1748ce0f1e237277440967a405e7145ca42876c3 /meta-openstack/recipes-core | |
parent | d2a69f5e890b040cbc774f64275c27c8a1ea67a9 (diff) | |
download | meta-cloud-services-bd2525ceb47699747f9370773fa629bf28c999d6.tar.gz |
housekeeping: replace deprecated base_contains
Fixes:
base_contains is deprecated, please use bb.utils.contains instead.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-core')
-rw-r--r-- | meta-openstack/recipes-core/base-files/base-files_3.0.14.bbappend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-openstack/recipes-core/base-files/base-files_3.0.14.bbappend index 53f0c20..0a1b160 100644 --- a/meta-openstack/recipes-core/base-files/base-files_3.0.14.bbappend +++ b/meta-openstack/recipes-core/base-files/base-files_3.0.14.bbappend | |||
@@ -2,11 +2,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | |||
2 | 2 | ||
3 | SRC_URI += "file://nsswitch.conf" | 3 | SRC_URI += "file://nsswitch.conf" |
4 | 4 | ||
5 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" | 5 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" |
6 | PACKAGECONFIG[OpenLDAP] = ",,,nss-pam-ldapd" | 6 | PACKAGECONFIG[OpenLDAP] = ",,,nss-pam-ldapd" |
7 | 7 | ||
8 | do_install_append() { | 8 | do_install_append() { |
9 | if ${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'true', 'false', d)}; then | 9 | if ${@bb.utils.contains('DISTRO_FEATURES', 'OpenLDAP', 'true', 'false', d)}; then |
10 | install -m 755 -d ${D}/etc/ | 10 | install -m 755 -d ${D}/etc/ |
11 | install -m 644 ${WORKDIR}/nsswitch.conf ${D}/etc/ | 11 | install -m 644 ${WORKDIR}/nsswitch.conf ${D}/etc/ |
12 | fi | 12 | fi |