summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind
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:57 +0100
commit2aa350acca1c6b6ada6a4508611ce25e9f9576ab (patch)
treeef24e3a4f0d18396a19058b328f8b800585da269 /meta/recipes-connectivity/bind
parentcd19f768cfe41fd40748230bff59c16fbaedaae6 (diff)
downloadpoky-2aa350acca1c6b6ada6a4508611ce25e9f9576ab.tar.gz
bind: remove empty /var/run directory
The /var/run directory is already created by base-files. (From OE-Core rev: 533f34c4c4596efbd7798f0819bab9642cc97be2) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind')
-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"
39do_install_append() { 39do_install_append() {
40 rm "${D}${bindir}/nslookup" 40 rm "${D}${bindir}/nslookup"
41 rm "${D}${mandir}/man1/nslookup.1" 41 rm "${D}${mandir}/man1/nslookup.1"
42 rmdir "${D}${localstatedir}/run"
43 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
42 install -d "${D}${sysconfdir}/bind" 44 install -d "${D}${sysconfdir}/bind"
43 install -d "${D}${sysconfdir}/init.d" 45 install -d "${D}${sysconfdir}/init.d"
44 install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/" 46 install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"