]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk: install UTF-8 locales in SDKs
authorRoss Burton <ross.burton@intel.com>
Thu, 1 Mar 2018 18:26:32 +0000 (18:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Mar 2018 09:11:19 +0000 (10:11 +0100)
commitaf9eb2ef36cb5bfd87ea61ff3390949810097c9b
tree92b2ad76319bbeed5b73c732e0b4a2f672610ed5
parent14269b953c1f74d7dd72c65df5e925d9ae4e75be
populate_sdk: install UTF-8 locales in SDKs

As glibc 2.27 can't read older locale-archives, SDKs using glibc 2.27 on hosts
using glibc earlier than 2.27 won't be able to find any locales, so bitbake
won't start and Python can't use UTF-8.

So by default install all locales into the SDK.  Special-case Extensible SDKs by
installing no locales as they ship glibc in a buildtools, and that will have the
locales.

Locale installation requires cross-localedef, so add that to DEPENDS.

Also remove the explicit en_US addition in buildtools-tarball as it is now
redundant.

(From OE-Core rev: 96896568d197cd06302713c24c0f7d91bfaea6c1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass
meta/classes/populate_sdk_ext.bbclass
meta/recipes-core/meta/buildtools-tarball.bb