Since localedir changed, we should apply complocaledir=${localedir} 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 ... Signed-off-by: Hongxu Jia <hongxu....@windriver.com> --- meta/recipes-core/glibc/glibc_2.24.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core/glibc/glibc_2.24.bb b/meta/recipes-core/glibc/glibc_2.24.bb index 88bcbef2..2f0c4be 100644 --- a/meta/recipes-core/glibc/glibc_2.24.bb +++ b/meta/recipes-core/glibc/glibc_2.24.bb @@ -128,10 +128,8 @@ do_compile () { } -# Use the host locale archive when built for nativesdk so that we don't need to -# ship a complete (100MB) locale set. -do_compile_prepend_class-nativesdk() { - echo "complocaledir=/usr/lib/locale" >> ${S}/configparms +do_compile_prepend() { + echo "complocaledir=${localedir}" >> ${S}/configparms } require glibc-package.inc -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core