All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] systemd: bug fix for the path of systemd.conf
Date: Fri, 03 Jul 2015 10:00:40 +0200	[thread overview]
Message-ID: <55964128.4090607@opendreambox.org> (raw)
In-Reply-To: <1435905732-15169-1-git-send-email-xiao.zhang@windriver.com>

Hello Zhang Xiao,

On 03.07.2015 08:42, Zhang Xiao wrote:
> tmpfiles.d/systemd.conf lies in {prefix}/lib not {libdir}.
> Fix it.
> 
> Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
> ---
>  meta/recipes-core/systemd/systemd_219.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb
> index 6ed4fe0..04db47b 100644
> --- a/meta/recipes-core/systemd/systemd_219.bb
> +++ b/meta/recipes-core/systemd/systemd_219.bb
> @@ -178,7 +178,7 @@ do_install() {
>  	# this file is needed to exist if networkd is disabled but timesyncd is still in use since timesyncd checks it
>  	# for existence else it fails
>  	if [ -s ${D}${libdir}/tmpfiles.d/systemd.conf ]; the
> -		${@bb.utils.contains('PACKAGECONFIG', 'networkd', ':', 'sed -i -e "\$ad /run/systemd/netif/links 0755 root root -" ${D}${libdir}/tmpfiles.d/systemd.conf', d)}
> +		${@bb.utils.contains('PACKAGECONFIG', 'networkd', ':', 'sed -i -e "\$ad /run/systemd/netif/links 0755 root root -" ${D}${prefix}/lib/tmpfiles.d/systemd.conf', d)}

wouldn't it be appropriate to change the conditional above, too?

Regards,
Andreas


  reply	other threads:[~2015-07-03  8:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-03  6:42 [PATCH] systemd: bug fix for the path of systemd.conf Zhang Xiao
2015-07-03  8:00 ` Andreas Oberritter [this message]
2015-07-10 22:24   ` Burton, Ross

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=55964128.4090607@opendreambox.org \
    --to=obi@opendreambox.org \
    --cc=openembedded-core@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 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.