bitbake.conf: Change systemd_unitdir definition
PATCH 1/1 bitbake.conf: Change systemd_unitdir definition
systemd_unitdir indicates the arch independent files which are basically scripts and unit files and systemd wants then to be in /lib always even when base_libdir is /lib64, hence we have to reflect that and not use base_libdir to define it. Otherwise on architectures where base_libdir is lib64 e.g. ppc64 or multilibbed x86_64 this wont work
--- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/bitbake.conf +1 -1
@@ -31,6 +31,7 @@ export localstatedir = "${base_prefix}/var" export infodir = "${datadir}/info" export mandir = "${datadir}/man" export docdir = "${datadir}/doc" +export systemd_unitdir = "/lib/systemd" # Architecture dependent paths export bindir = "${exec_prefix}/bin"
@@ -39,7 +40,6 @@ export libexecdir = "${exec_prefix}/libexec" export libdir = "${exec_prefix}/${baselib}" export includedir = "${exec_prefix}/include" export oldincludedir = "${exec_prefix}/include" -export systemd_unitdir = "${base_libdir}/systemd" localedir = "${libdir}/locale" # Linkage between native/cross/nativesdk layouts
Signature · 1 line
1.7.9.5
Saul Wold
AppliedQuoted 27 lines · Khem Raj
systemd_unitdirindicates the arch independent files which are basically scripts and unit files and systemd wants then to be in /lib always even whenbase_libdiris /lib64, hence we have to reflect that and not usebase_libdirto define it. Otherwise on architectures wherebase_libdiris lib64 e.g. ppc64 or multilibbedx86_64this wont workSigned-off-by Khem Raj <[email protected]>--- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/conf/bitbake.conf +1
-0@@ -31,6 +31,7 @@ export localstatedir = "${base_prefix}/var" export infodir = "${datadir}/info" export mandir = "${datadir}/man" export docdir = "${datadir}/doc" +export systemd_unitdir = "/lib/systemd" # Architecture dependent paths export bindir = "${exec_prefix}/bin"
meta/conf/bitbake.conf export libexecdir = "${exec_prefix}/libexec" · line 45
Quoted 7 lines
meta/conf/bitbake.conf +0
-1@@ -39,7 +40,6 @@ export libexecdir = "${exec_prefix}/libexec" export libdir = "${exec_prefix}/${baselib}" export includedir = "${exec_prefix}/include" export oldincludedir = "${exec_prefix}/include" -export systemd_unitdir = "${base_libdir}/systemd" localedir = "${libdir}/locale" # Linkage between native/cross/nativesdk layouts
Merged into OE-Core
Thanks
Sau!