[OE-core] defining default locale (LANG/LC_ALL)

Alexander Kanavin alexander.kanavin at linux.intel.com
Mon Sep 26 12:59:53 UTC 2016


On 09/26/2016 02:55 PM, Jussi Kukkonen wrote:
>
>     May be this is a FAQ, but I could not find any helpful documentation.
>
>     What is the best way to define a system wide default locale setting
>     (LANG and LC_ALL) for OE based Angstrom style images?
>
>
> systemd provides system wide locale settings through /etc/locale.conf,
> all services will inherit these (note that LC_ALL is not supported). I
> expect these should just work in OE.
>
> I'm not aware of anything quite like that for non-systemd though.

Note that LC_ALL should not be used for setting the system-wide default: 
it takes precedence over any other variable. LANG is the way to go.

Alex



More information about the Openembedded-core mailing list