aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-07-06 11:47:38 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-07-08 10:35:58 +0200
commit20e070859473fa3b7014e436e52fd5831b5c9dfc (patch)
tree644c7712773f42fb3907ab0378a557d59730650f /meta-webserver/recipes-httpd
parent29c9fc4069b6bf736d43799a465ec124c0d46fd7 (diff)
downloadmeta-openembedded-contrib-20e070859473fa3b7014e436e52fd5831b5c9dfc.tar.gz
cherokee: 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/cherokee/cherokee_1.2.98.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
index 1510e702f3..265e24ed7c 100644
--- a/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
+++ b/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
@@ -32,6 +32,8 @@ do_install_append () {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/cherokee.service ${D}${systemd_unitdir}/system
+ rmdir "${D}${localstatedir}/run"
+ rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
}
# Put -dev near the front so we can move the .la files into it with a wildcard