summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-09-25 22:15:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-16 22:38:52 +0000
commit665aea195a8e7e9c044fbfddff948d23904598aa (patch)
treeda34a0e0d306c7106a013fb8413df4a9f37e4712 /meta/lib
parent366e5937f396f6da353f903340a37db1b4bc84b5 (diff)
downloadpoky-665aea195a8e7e9c044fbfddff948d23904598aa.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: 7b8f6388e0a1e1eab35918a3764e98553a2452f4) 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>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/sdk.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index b4fbdb799e..d02a274812 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -88,10 +88,6 @@ class Sdk(object, metaclass=ABCMeta):
88 bb.warn("cannot remove SDK dir: %s" % path) 88 bb.warn("cannot remove SDK dir: %s" % path)
89 89
90 def install_locales(self, pm): 90 def install_locales(self, pm):
91 # This is only relevant for glibc
92 if self.d.getVar("TCLIBC") != "glibc":
93 return
94
95 linguas = self.d.getVar("SDKIMAGE_LINGUAS") 91 linguas = self.d.getVar("SDKIMAGE_LINGUAS")
96 if linguas: 92 if linguas:
97 import fnmatch 93 import fnmatch