Dear all,

I'm trying to configure locale support in Yocto. My taget machine is: imx6qsabresd (i.MX 6Quad Processor), yocto version is: morty.

I've created a base image with the command: bitbake core-image-base, then I've booted the image in my sabre board. Everything works fine except locales.

Reading in the docs I've found:

You can set |GLIBC_GENERATE_LOCALES| in your |local.conf| file. By default, all locales are generated.
Link: http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#var-GLIBC_GENERATE_LOCALES

In my build I've found only a locale, path: /usr/share/locale/en_GB, no other locales are generated. Executing the "locale" command I've got:

root@imx6qsabresd:/usr/share/locale# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Default locale is POSIX, not en_GB.

I've tried several options in my local.conf:

 * ENABLE_BINARY_LOCALE_GENERATION = "1" to enable the generation of
   locales at build time
 * IMAGE_INSTALL_append = " glibc-utils localedef" to add to the build
   locale and localdef
 * IMAGE_LINGUAS = "en-gb en-us zh-cn" to specify the add of additional
   packages

None of this options had effects.

Looking in the features list of the next yocto release I've found this bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=9070
is it possible that curreny release has problems respect to locale generation?

_/Why locales are not generated? What do I have to configure to generate them?/_

Thanks in advance for your time

Regards,

Fabio Emiliani

--

*Fabio Emiliani*

*/Software Engineer/*

/Ph. +39 075 8298 530 /

/fabio.emili...@artgroup-spa.com/ <mailto:fabio.emili...@artgroup-spa.com>

DISCLAIMER
This email and any attachment may contain confidential information. If you are not the intended recipient you are not authorised to copy or disclose all or any part of it without the prior written consent of ART SpA.

/ART SpA – Step Forward With US - //www.artgroup-spa.com/logo_ART_firma-1//

/Ph. +39 075 8298 501 – Fax +39 075 8298 525 /

P*Please consider our environment  before printing this e-mail***

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to