summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-01 18:26:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-01 22:18:47 +0000
commit2f5641505944983bb931fd373f7d625eb6ce6fce (patch)
tree7bd2d3a7e9750e1b870545b8f9fa614fd575e11d /meta/classes/populate_sdk_ext.bbclass
parent03b758892b87969945cca75472c62c184fcc4ba5 (diff)
downloadpoky-2f5641505944983bb931fd373f7d625eb6ce6fce.tar.gz
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>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index d7a0884037..655375416b 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -655,7 +655,8 @@ fakeroot python do_populate_sdk_ext() {
655 d.setVar('SDK_REQUIRED_UTILITIES', get_sdk_required_utilities(buildtools_fn, d)) 655 d.setVar('SDK_REQUIRED_UTILITIES', get_sdk_required_utilities(buildtools_fn, d))
656 d.setVar('SDK_BUILDTOOLS_INSTALLER', buildtools_fn) 656 d.setVar('SDK_BUILDTOOLS_INSTALLER', buildtools_fn)
657 d.setVar('SDKDEPLOYDIR', '${SDKEXTDEPLOYDIR}') 657 d.setVar('SDKDEPLOYDIR', '${SDKEXTDEPLOYDIR}')
658 658 # ESDKs have a libc from the buildtools so ensure we don't ship linguas twice
659 d.delVar('SDKIMAGE_LINGUAS')
659 populate_sdk_common(d) 660 populate_sdk_common(d)
660} 661}
661 662