Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Jack Mitchell <ml@communistcode.co.uk>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-webserver][PATCH] hiawatha: remove empty /var/run directory
Date: Mon, 08 Jul 2013 09:35:15 +0100	[thread overview]
Message-ID: <51DA79C3.7030907@communistcode.co.uk> (raw)
In-Reply-To: <1373270549-7784-1-git-send-email-net147@gmail.com>

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

--


      reply	other threads:[~2013-07-08  8:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08  8:02 [meta-webserver][PATCH] hiawatha: remove empty /var/run directory Jonathan Liu
2013-07-08  8:35 ` Jack Mitchell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51DA79C3.7030907@communistcode.co.uk \
    --to=ml@communistcode.co.uk \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox