[OE-core] [PATCH 1/2] bitbake.conf: make localedir nonarch

Dan McGregor danismostlikely at gmail.com
Thu Jan 14 20:47:03 UTC 2016


From: Daniel McGregor <daniel.mcgregor at vecima.com>

systemd and others expect locales to be in nonarch_libdir, regardless
of the base library directory.

Signed-off-by: Daniel McGregor <daniel.mcgregor at vecima.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2fe6b24..47f8a43 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -44,7 +44,7 @@ export libdir = "${exec_prefix}/${baselib}"
 export libexecdir = "${libdir}/${BPN}"
 export includedir = "${exec_prefix}/include"
 export oldincludedir = "${exec_prefix}/include"
-localedir = "${libdir}/locale"
+localedir = "${nonarch_libdir}/locale"
 
 # Linkage between native/cross/nativesdk layouts
 base_bindir_native = "/bin"
-- 
2.7.0




More information about the Openembedded-core mailing list