[oe-commits] Jonathan Liu : hiawatha: remove empty /var/run directory

git at git.openembedded.org git at git.openembedded.org
Mon Jul 8 08:30:23 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 1cb1c6103df41e9535b44ab981662879d0fd59f9
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=1cb1c6103df41e9535b44ab981662879d0fd59f9

Author: Jonathan Liu <net147 at gmail.com>
Date:   Mon Jul  8 08:02:29 2013 +0000

hiawatha: remove empty /var/run directory

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

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../recipes-httpd/hiawatha/hiawatha_9.2.bb         |    2 ++
 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 2c9fe80..94bcbc6 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} = " \



More information about the Openembedded-commits mailing list