[OE-core] [PATCH] systemd: bug fix for the path of systemd.conf
Andreas Oberritter
obi at opendreambox.org
Fri Jul 3 08:00:40 UTC 2015
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 at 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
More information about the Openembedded-core
mailing list