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-extended/libpam | |
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-extended/libpam')
-rw-r--r-- | meta-openstack/recipes-extended/libpam/libpam_1.%.bbappend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/recipes-extended/libpam/libpam_1.%.bbappend b/meta-openstack/recipes-extended/libpam/libpam_1.%.bbappend index 0e93ace..ec858a7 100644 --- a/meta-openstack/recipes-extended/libpam/libpam_1.%.bbappend +++ b/meta-openstack/recipes-extended/libpam/libpam_1.%.bbappend | |||
@@ -6,11 +6,11 @@ SRC_URI += "file://common-password" | |||
6 | SRC_URI += "file://common-session" | 6 | SRC_URI += "file://common-session" |
7 | SRC_URI += "file://common-session-noninteractive" | 7 | SRC_URI += "file://common-session-noninteractive" |
8 | 8 | ||
9 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" | 9 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" |
10 | PACKAGECONFIG[OpenLDAP] = ",,,pam-plugin-mkhomedir nss-pam-ldapd" | 10 | PACKAGECONFIG[OpenLDAP] = ",,,pam-plugin-mkhomedir nss-pam-ldapd" |
11 | 11 | ||
12 | do_install_append() { | 12 | do_install_append() { |
13 | if ${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'true', 'false', d)}; then | 13 | if ${@bb.utils.contains('DISTRO_FEATURES', 'OpenLDAP', 'true', 'false', d)}; then |
14 | install -m 755 -d ${D}/etc/pam.d/ | 14 | install -m 755 -d ${D}/etc/pam.d/ |
15 | install -m 644 ${WORKDIR}/common-account ${D}/etc/pam.d/ | 15 | install -m 644 ${WORKDIR}/common-account ${D}/etc/pam.d/ |
16 | install -m 644 ${WORKDIR}/common-auth ${D}/etc/pam.d/ | 16 | install -m 644 ${WORKDIR}/common-auth ${D}/etc/pam.d/ |