summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support/openldap/openldap_openstack.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-support/openldap/openldap_openstack.inc')
-rw-r--r--meta-openstack/recipes-support/openldap/openldap_openstack.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-openstack/recipes-support/openldap/openldap_openstack.inc b/meta-openstack/recipes-support/openldap/openldap_openstack.inc
index 63f6064..603dc3f 100644
--- a/meta-openstack/recipes-support/openldap/openldap_openstack.inc
+++ b/meta-openstack/recipes-support/openldap/openldap_openstack.inc
@@ -1,7 +1,7 @@
1DEPEND_${PN} += "cyrus-sasl" 1DEPEND_${PN} += "cyrus-sasl"
2RDEPEND_${PN} += "libsasl2-modules" 2RDEPEND_${PN} += "libsasl2-modules"
3 3
4FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 4FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
5SRC_URI += "file://initscript" 5SRC_URI += "file://initscript"
6SRC_URI += "file://ops-base.ldif" 6SRC_URI += "file://ops-base.ldif"
7 7
@@ -12,7 +12,7 @@ OPENLDAP_LIBEXECDIR = "${libexecdir}"
12 12
13EXTRA_OECONF += "--libexecdir=${OPENLDAP_LIBEXECDIR}" 13EXTRA_OECONF += "--libexecdir=${OPENLDAP_LIBEXECDIR}"
14 14
15do_install_append() { 15do_install:append() {
16 install -D -m 0755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/openldap 16 install -D -m 0755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/openldap
17 sed -i -e 's/%DEFAULT_DN%/${LDAP_DN}/g' ${D}${sysconfdir}/init.d/openldap 17 sed -i -e 's/%DEFAULT_DN%/${LDAP_DN}/g' ${D}${sysconfdir}/init.d/openldap
18 sed -i -e 's#%LDAP_DATADIR%#${LDAP_DATADIR}#g' ${D}${sysconfdir}/init.d/openldap 18 sed -i -e 's#%LDAP_DATADIR%#${LDAP_DATADIR}#g' ${D}${sysconfdir}/init.d/openldap
@@ -69,5 +69,5 @@ inherit update-rc.d
69INITSCRIPT_NAME = "openldap" 69INITSCRIPT_NAME = "openldap"
70INITSCRIPT_PARAMS = "defaults" 70INITSCRIPT_PARAMS = "defaults"
71 71
72FILES_${PN} += "${OPENLDAP_LIBEXECDIR}/* ${sysconfdir}/openldap/ops-base.ldif" 72FILES:${PN} += "${OPENLDAP_LIBEXECDIR}/* ${sysconfdir}/openldap/ops-base.ldif"
73FILES_${PN}-dbg += "${OPENLDAP_LIBEXECDIR}/openldap/.debug ${OPENLDAP_LIBEXECDIR}/.debug" 73FILES:${PN}-dbg += "${OPENLDAP_LIBEXECDIR}/openldap/.debug ${OPENLDAP_LIBEXECDIR}/.debug"