Skip to contentSkip to conversation

cherokee: remove empty /var/run directory

PATCH New Jonathan Liu 1 participant 1 message Jul 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cherokee: remove empty /var/run directory

The /var/run directory is already created by base-files.

---
 meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +2 -0
index 1510e70..265e24e 100644
@@ -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
Signature · 1 line
1.8.3.2