From 533f34c4c4596efbd7798f0819bab9642cc97be2 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sun, 26 May 2013 13:57:33 +1000 Subject: bind: remove empty /var/run directory The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu Signed-off-by: Saul Wold --- meta/recipes-connectivity/bind/bind_9.8.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta') 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/" -- cgit v1.2.3