Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Joshua Lock <joshua.lock@collabora.co.uk>
To: Reinette Chatre <reinette.chatre@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH][fido] systemd: fix tmpfiles location when multilib in use
Date: Tue, 13 Oct 2015 22:57:51 +0100	[thread overview]
Message-ID: <561D7E5F.1080901@collabora.co.uk> (raw)
In-Reply-To: <fc756e8119184af7625c7aa191716cf265fe77fa.1443129296.git.reinette.chatre@intel.com>

On 24/09/15 22:21, Reinette Chatre wrote:
> Systemd's configuration files for creation, deletion and cleaning
> of volatile and temporary files are installed in /usr/lib even when
> multilib is in use (when /usr/lib64 is available). In this check the
> systemd.conf file will not be found if libdir is /usr/lib64 so we fix the
> path to match this file's installation path to look for it in
> ${exec_prefix}/lib
>
> (From OE-Core rev: c1ef36c2b3e3876cc166a9a5e153fc6f23b42b92)
>
> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> Hi Joshua,
>
> This is a backport of systemd fix that was recently merged to master. This
> fixes broken timesynd in fido images built with multilib. Could you please
> consider it for fido?
>
> Thank you very much

Thanks Reinette,

I've queued this change in my joshuagl/fido-next branch[1].

Regards,

Joshua

1. 
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=joshuagl/fido-next

>
> Reinette
>
>   meta/recipes-core/systemd/systemd_219.bb | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb
> index b972dd4..2f12284 100644
> --- a/meta/recipes-core/systemd/systemd_219.bb
> +++ b/meta/recipes-core/systemd/systemd_219.bb
> @@ -181,8 +181,8 @@ do_install() {
>   	sed -i -e 's/.*ForwardToSyslog.*/ForwardToSyslog=yes/' ${D}${sysconfdir}/systemd/journald.conf
>   	# 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 ]; then
> -		${@bb.utils.contains('PACKAGECONFIG', 'networkd', ':', 'sed -i -e "\$ad /run/systemd/netif/links 0755 root root -" ${D}${libdir}/tmpfiles.d/systemd.conf', d)}
> +	if [ -s ${D}${exec_prefix}/lib/tmpfiles.d/systemd.conf ]; then
> +		${@bb.utils.contains('PACKAGECONFIG', 'networkd', ':', 'sed -i -e "\$ad /run/systemd/netif/links 0755 root root -" ${D}${exec_prefix}/lib/tmpfiles.d/systemd.conf', d)}
>   	fi
>   }
>
>



      reply	other threads:[~2015-10-13 21:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24 21:21 [PATCH][fido] systemd: fix tmpfiles location when multilib in use Reinette Chatre
2015-10-13 21:57 ` Joshua Lock [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=561D7E5F.1080901@collabora.co.uk \
    --to=joshua.lock@collabora.co.uk \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=reinette.chatre@intel.com \
    /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