aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-07-08 08:02:29 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-07-08 10:36:41 +0200
commit1cb1c6103df41e9535b44ab981662879d0fd59f9 (patch)
tree8ccb8aca00c1072896e1eec1ac0db95f8e1d08e5 /meta-webserver/recipes-httpd
parent82f7bdc63e084e8482be0914d9b46fc10cada185 (diff)
downloadmeta-openembedded-contrib-1cb1c6103df41e9535b44ab981662879d0fd59f9.tar.gz
hiawatha: 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-webserver/recipes-httpd')
-rw-r--r--meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb
index 2c9fe8086d..94bcbc6f74 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} = " \