summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-core')
-rw-r--r--meta-openstack/recipes-core/base-files/base-files_3.0.14.bbappend4
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
3SRC_URI += "file://nsswitch.conf" 3SRC_URI += "file://nsswitch.conf"
4 4
5PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" 5PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}"
6PACKAGECONFIG[OpenLDAP] = ",,,nss-pam-ldapd" 6PACKAGECONFIG[OpenLDAP] = ",,,nss-pam-ldapd"
7 7
8do_install_append() { 8do_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