* [meta-oe][PATCH] openldap: remove empty /var/run directory
@ 2013-07-06 11:30 Jonathan Liu
0 siblings, 0 replies; only message in thread
From: Jonathan Liu @ 2013-07-06 11:30 UTC (permalink / raw)
To: openembedded-devel
The /var/run directory is already created by base-files.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
meta-oe/recipes-support/openldap/openldap_2.4.23.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
index 9a7c118..c545b5c 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
@@ -235,6 +235,8 @@ do_install_append() {
chmod 755 ${D}${sysconfdir}/init.d/openldap
# This is duplicated in /etc/openldap and is for slapd
rm -f ${D}${localstatedir}/openldap-data/DB_CONFIG.example
+ rmdir "${D}${localstatedir}/run"
+ rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
}
pkg_postinst_${PN}-slapd () {
--
1.8.3.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-06 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-06 11:30 [meta-oe][PATCH] openldap: remove empty /var/run directory Jonathan Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox