From 1cb1c6103df41e9535b44ab981662879d0fd59f9 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Mon, 8 Jul 2013 08:02:29 +0000 Subject: hiawatha: remove empty /var/run directory The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu Signed-off-by: Martin Jansa --- meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-webserver/recipes-httpd') diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb index 2c9fe8086..94bcbc6f7 100644 --- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb +++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb @@ -53,6 +53,8 @@ do_install_append() { install -m 644 ${WORKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system fi + rmdir "${D}${localstatedir}/run" + rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" } CONFFILES_${PN} = " \ -- cgit v1.2.3-54-g00ecf