summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 13:57:33 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:24 +0100
commit533f34c4c4596efbd7798f0819bab9642cc97be2 (patch)
tree6ac8efcbced1cc773104783af796b90dbd6324c5 /meta/recipes-connectivity
parent691593177aa78a56ce138f1041872bebca2aa056 (diff)
downloadopenembedded-core-533f34c4c4596efbd7798f0819bab9642cc97be2.tar.gz
openembedded-core-533f34c4c4596efbd7798f0819bab9642cc97be2.tar.bz2
openembedded-core-533f34c4c4596efbd7798f0819bab9642cc97be2.zip
bind: 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: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/bind/bind_9.8.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.8.1.bb b/meta/recipes-connectivity/bind/bind_9.8.1.bb
index 18cbb99b92..0663313fff 100644
--- a/meta/recipes-connectivity/bind/bind_9.8.1.bb
+++ b/meta/recipes-connectivity/bind/bind_9.8.1.bb
@@ -39,6 +39,8 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
do_install_append() {
rm "${D}${bindir}/nslookup"
rm "${D}${mandir}/man1/nslookup.1"
+ rmdir "${D}${localstatedir}/run"
+ rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
install -d "${D}${sysconfdir}/bind"
install -d "${D}${sysconfdir}/init.d"
install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"