Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] systemd: bug fix for the path of systemd.conf
@ 2015-07-03  6:42 Zhang Xiao
  2015-07-03  8:00 ` Andreas Oberritter
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Xiao @ 2015-07-03  6:42 UTC (permalink / raw)
  To: openembedded-core

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 ]; 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-10 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-03  6:42 [PATCH] systemd: bug fix for the path of systemd.conf Zhang Xiao
2015-07-03  8:00 ` Andreas Oberritter
2015-07-10 22:24   ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox