On 02/10/2015 08:37 PM, Burton, Ross wrote:

On 10 February 2015 at 09:14, Chen Qi <[email protected] <mailto:[email protected]>> wrote:

    -  ${@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}${nonarch_base_libdir}/tmpfiles.d/systemd.conf', d)}


systemd.bb <http://systemd.bb> has a few variables that mirror the variabes used in the systemd build system, rootprefix/rootlibdir/rootlibexecdir. Would using one of those match the variables used in the makefile to install these files to avoid this sort of thing happening again?

Ross

Hmm... I don't quite get you. But this do_install error was introduced into OE by a recent commit.

commit 2a675bc63b22724f12e6ed6ff58d0f1d1e0d3b29
Date:   Thu Jan 29 12:44:20 2015 -0800

    systemd: Backports fixes to 216

    Fix systemd-timesyncd assertion

    when networkd is disabled then we now do not
    create /run/systemd/netif/links but timesyncd needs it. So lets
    manually create this file when networkd is disabled so timesyncd
    can still function

    When enabling systemd-timesyncd we need systemd-timesync user

    Backport patches to enable timesyncd when resolved and networkd
    are disabled

    replace the resolv.conf symlinink patch with a proper backport

Best Regards,
Chen Qi
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to