* [meta-webserver][PATCH] hiawatha: remove empty /var/run directory
@ 2013-07-08 8:02 Jonathan Liu
2013-07-08 8:35 ` Jack Mitchell
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Liu @ 2013-07-08 8:02 UTC (permalink / raw)
To: openembedded-devel
The /var/run directory is already created by base-files.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb | 2 ++
1 file changed, 2 insertions(+)
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} = " \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-webserver][PATCH] hiawatha: remove empty /var/run directory
2013-07-08 8:02 [meta-webserver][PATCH] hiawatha: remove empty /var/run directory Jonathan Liu
@ 2013-07-08 8:35 ` Jack Mitchell
0 siblings, 0 replies; 2+ messages in thread
From: Jack Mitchell @ 2013-07-08 8:35 UTC (permalink / raw)
To: openembedded-devel
On 08/07/13 09:02, Jonathan Liu wrote:
> The /var/run directory is already created by base-files.
>
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
> meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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} = " \
>
Ack from me, I've been meaning to get round to this for a while.
Thanks Jonathan!
--
Jack Mitchell (jack@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-08 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08 8:02 [meta-webserver][PATCH] hiawatha: remove empty /var/run directory Jonathan Liu
2013-07-08 8:35 ` Jack Mitchell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.