Since localedir changed
-----------------------
commit bbca0646c7b55aa28dbf796ab9135bbc63a92a8d
Author: Chen Qi <[email protected]>
Date: Mon Aug 8 13:55:42 2016 +0800
bitbake.conf: change localedir
-----------------------
Refer nativesdk, We should apply complocaledir=${localedir} for target.
Build image with IMAGE_LINGUAS="en-us en-gb"
Boot target and display all locales:
...
root@localhost:~# locale -a
C
POSIX
en_GB
en_US
...
(LOCAL REV: NOT UPSTREAM) -- sent to oe-core on 20160810
Signed-off-by: Hongxu Jia <[email protected]>
---
meta/recipes-core/glibc/glibc_2.24.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-core/glibc/glibc_2.24.bb
b/meta/recipes-core/glibc/glibc_2.24.bb
index 88bcbef2..c1b5190 100644
--- a/meta/recipes-core/glibc/glibc_2.24.bb
+++ b/meta/recipes-core/glibc/glibc_2.24.bb
@@ -134,6 +134,10 @@ do_compile_prepend_class-nativesdk() {
echo "complocaledir=/usr/lib/locale" >> ${S}/configparms
}
+do_compile_prepend_class-target() {
+ echo "complocaledir=${localedir}" >> ${S}/configparms
+}
+
require glibc-package.inc
BBCLASSEXTEND = "nativesdk"
--
2.8.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core