[oe] [RFC] Allow to limit generated binary locales to predefined list
pmiscml at gmail.com
Sun Mar 11 03:06:57 CET 2007
Binary locale generation for the entire locate set provided by GLIBC
takes noticeable amount of time (several hours). While OE allows to skip
binary locale generation at all, that puts development environment
too far away from "release" one.
The solution would be to allow to optionally constrain set of
generated locales to a predefined list. I had adhoc patch to do that
for few months now, and several people expressed interest in it. So, I
finally took time to clean it up and make list configurable via OE
variable, and submit it: http://bugs.openembedded.org/show_bug.cgi?id=1966
List is specified using GLIBC_GENERATE_LOCALES variable, which can
be set e.g. in local.conf:
GLIBC_GENERATE_LOCALES = "en_GB,UTF-8 de_DE,UTF-8"
Format is <locale>,<encoding> pairs separated by space. Format is
actually based on "SUPPORTED" file generated/provided with GLIBC. For
development purposes, encoding can be just "UTF-8", and for Angstrom,
only en_GB locales is required now. Previous default from OZ/Familiar
was "en_GB,UTF-8 de_DE,UTF-8 fr_FR,UTF-8".
I'd appreciate comments and testing of the patch above.
Paul mailto:pmiscml at gmail.com
More information about the Openembedded-devel