diff options
author | Jonathan Liu <net147@gmail.com> | 2013-07-08 08:02:29 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-08 10:36:41 +0200 |
commit | 1cb1c6103df41e9535b44ab981662879d0fd59f9 (patch) | |
tree | 8ccb8aca00c1072896e1eec1ac0db95f8e1d08e5 /meta-webserver | |
parent | 82f7bdc63e084e8482be0914d9b46fc10cada185 (diff) | |
download | ast2050-yocto-openembedded-1cb1c6103df41e9535b44ab981662879d0fd59f9.zip ast2050-yocto-openembedded-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')
-rw-r--r-- | meta-webserver/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} = " \ |