diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-21 12:30:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-21 22:26:26 +0100 |
commit | 833d4c0fe804a1f7524b3d4b75cbcdd65c31ddac (patch) | |
tree | f640090f48ae2a87768d165c6cf1ac1273fa4640 /meta/conf | |
parent | d13f0ac614f1d1e2ef2c8ddc71cbfcf76a8dc3f2 (diff) | |
download | openembedded-core-contrib-833d4c0fe804a1f7524b3d4b75cbcdd65c31ddac.tar.gz |
bitbake.conf/toolchain-shar-extract: Use en_US.UTF-8 as locale
Under python 3, if we spawn python processes, we need to have a UTF-8 locale,
else python's file access methods will use ascii. You can't change that mode
once the interpreter is started so we have to ensure a locale is set. Ideally
we'd use C.UTF-8 since OE already forces the C locale but not all distros support
that and we need to set something so en_US.UTF-8 seems as standard we we can get.
This matches the change in bitbake revision 8902c29638411d312e6fc4a197707e5742652e15
Also set this into the environment used when installing SDKs since
python can be run and we need to ensure we use a standardised locale
which is available from things like buildtools-tarball.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 8a84e53c1bf..acef30b714d 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -488,7 +488,7 @@ export BUILD_NM = "${BUILD_PREFIX}nm" export MAKE = "make" EXTRA_OEMAKE = "" EXTRA_OECONF = "" -export LC_ALL = "C" +export LC_ALL = "en_US.UTF-8" ################################################################## # Patch handling. |