tmpfiles.d/systemd.conf lies in {prefix}/lib not {libdir}.
Fix it.

Signed-off-by: Zhang Xiao <[email protected]>
---
 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 ]; then
-               ${@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)}
        fi
 }
 
-- 
1.8.5.2.233.g932f7e4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to