diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-09-25 22:15:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-16 23:11:10 +0000 |
commit | 304de32f806f8d36a79c041825cfbcdf897659fd (patch) | |
tree | 2f64cb383e849445a249a309114c7cea980b930d | |
parent | b54e834832cc363941fdd205f104f033883984cd (diff) | |
download | poky-304de32f806f8d36a79c041825cfbcdf897659fd.tar.gz |
sdk: Install nativesdk locales for all TCLIBC variants
install_locales() here is actually operating on nativesdk and only glibc
is the default library for nativesdk, since thats what most of
desktop/server distros use, therefore bailing out based on TCLIBC is not
needed here, since nativesdk-glibc would be required for all non-glibc
targetting SDKs as well.
Fixes SDK install time error
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Your system needs to support the en_US.UTF-8 locale.
ERROR: SDK preparation failed
(From OE-Core rev: 4a17afb3fe42cbc01c52b2d5357f6021bf782c01)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oe/sdk.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index 153b07d76b..ef81f8cf60 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py | |||
@@ -84,10 +84,6 @@ class Sdk(object, metaclass=ABCMeta): | |||
84 | bb.warn("cannot remove SDK dir: %s" % path) | 84 | bb.warn("cannot remove SDK dir: %s" % path) |
85 | 85 | ||
86 | def install_locales(self, pm): | 86 | def install_locales(self, pm): |
87 | # This is only relevant for glibc | ||
88 | if self.d.getVar("TCLIBC") != "glibc": | ||
89 | return | ||
90 | |||
91 | linguas = self.d.getVar("SDKIMAGE_LINGUAS") | 87 | linguas = self.d.getVar("SDKIMAGE_LINGUAS") |
92 | if linguas: | 88 | if linguas: |
93 | import fnmatch | 89 | import fnmatch |