summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-connectivity
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2016-12-21 10:22:41 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-12-21 11:47:05 -0500
commitbd2525ceb47699747f9370773fa629bf28c999d6 (patch)
tree1748ce0f1e237277440967a405e7145ca42876c3 /meta-openstack/recipes-connectivity
parentd2a69f5e890b040cbc774f64275c27c8a1ea67a9 (diff)
downloadmeta-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-connectivity')
-rw-r--r--meta-openstack/recipes-connectivity/openssh/openssh_7.%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-connectivity/openssh/openssh_7.%.bbappend b/meta-openstack/recipes-connectivity/openssh/openssh_7.%.bbappend
index bfc543a..5c0d724 100644
--- a/meta-openstack/recipes-connectivity/openssh/openssh_7.%.bbappend
+++ b/meta-openstack/recipes-connectivity/openssh/openssh_7.%.bbappend
@@ -4,7 +4,7 @@ SRC_URI += "file://mcs-sshd"
4SRC_URI += "file://mcs-sshd_config" 4SRC_URI += "file://mcs-sshd_config"
5 5
6do_install_append() { 6do_install_append() {
7 if ${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'true', 'false', d)}; then 7 if ${@bb.utils.contains('DISTRO_FEATURES', 'OpenLDAP', 'true', 'false', d)}; then
8 install -D -m 644 ${WORKDIR}/mcs-sshd ${D}/etc/pam.d/sshd 8 install -D -m 644 ${WORKDIR}/mcs-sshd ${D}/etc/pam.d/sshd
9 install -D -m 644 ${WORKDIR}/mcs-sshd_config ${D}/etc/ssh/sshd_config 9 install -D -m 644 ${WORKDIR}/mcs-sshd_config ${D}/etc/ssh/sshd_config
10 fi 10 fi