diff options
author | Jonathan Liu <net147@gmail.com> | 2013-07-06 11:30:50 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-08 10:35:57 +0200 |
commit | b9e9d4d1442ec242ec2701d83156145198e92327 (patch) | |
tree | d036b7d6486d12f5b263a50596df443e498b6bf5 /meta-oe/recipes-support | |
parent | 4cba066de9173fd5776d57f7a29860d81db4acc0 (diff) | |
download | meta-openembedded-b9e9d4d1442ec242ec2701d83156145198e92327.tar.gz |
openldap: remove empty /var/run directory
The /var/run directory is already created by base-files.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/openldap/openldap_2.4.23.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 9a7c118b3..c545b5c00 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() { | |||
235 | chmod 755 ${D}${sysconfdir}/init.d/openldap | 235 | chmod 755 ${D}${sysconfdir}/init.d/openldap |
236 | # This is duplicated in /etc/openldap and is for slapd | 236 | # This is duplicated in /etc/openldap and is for slapd |
237 | rm -f ${D}${localstatedir}/openldap-data/DB_CONFIG.example | 237 | rm -f ${D}${localstatedir}/openldap-data/DB_CONFIG.example |
238 | rmdir "${D}${localstatedir}/run" | ||
239 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" | ||
238 | } | 240 | } |
239 | 241 | ||
240 | pkg_postinst_${PN}-slapd () { | 242 | pkg_postinst_${PN}-slapd () { |