diff options
Diffstat (limited to 'meta-oe/recipes-support/openldap/openldap_2.6.7.bb')
-rw-r--r-- | meta-oe/recipes-support/openldap/openldap_2.6.7.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/openldap/openldap_2.6.7.bb b/meta-oe/recipes-support/openldap/openldap_2.6.7.bb index e807fdef1..c229667d6 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.6.7.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.6.7.bb | |||
@@ -160,7 +160,7 @@ FILES:${PN}-dbg += "${libexecdir}/openldap/.debug" | |||
160 | 160 | ||
161 | do_install:append() { | 161 | do_install:append() { |
162 | install -d ${D}${sysconfdir}/init.d | 162 | install -d ${D}${sysconfdir}/init.d |
163 | cat ${WORKDIR}/initscript > ${D}${sysconfdir}/init.d/openldap | 163 | cat ${UNPACKDIR}/initscript > ${D}${sysconfdir}/init.d/openldap |
164 | chmod 755 ${D}${sysconfdir}/init.d/openldap | 164 | chmod 755 ${D}${sysconfdir}/init.d/openldap |
165 | # This is duplicated in /etc/openldap and is for slapd | 165 | # This is duplicated in /etc/openldap and is for slapd |
166 | rm -f ${D}${localstatedir}/openldap-data/DB_CONFIG.example | 166 | rm -f ${D}${localstatedir}/openldap-data/DB_CONFIG.example |
@@ -177,7 +177,7 @@ do_install:append() { | |||
177 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" | 177 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" |
178 | 178 | ||
179 | install -d ${D}${systemd_unitdir}/system/ | 179 | install -d ${D}${systemd_unitdir}/system/ |
180 | install -m 0644 ${WORKDIR}/slapd.service ${D}${systemd_unitdir}/system/ | 180 | install -m 0644 ${UNPACKDIR}/slapd.service ${D}${systemd_unitdir}/system/ |
181 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/*.service | 181 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/*.service |
182 | 182 | ||
183 | # Uses mdm as the database | 183 | # Uses mdm as the database |