mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
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: ba2df1fa43b79c4959911c1b0bcad996f255b7a8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -88,10 +88,6 @@ class Sdk(object, metaclass=ABCMeta):
|
|||||||
bb.warn("cannot remove SDK dir: %s" % path)
|
bb.warn("cannot remove SDK dir: %s" % path)
|
||||||
|
|
||||||
def install_locales(self, pm):
|
def install_locales(self, pm):
|
||||||
# This is only relevant for glibc
|
|
||||||
if self.d.getVar("TCLIBC") != "glibc":
|
|
||||||
return
|
|
||||||
|
|
||||||
linguas = self.d.getVar("SDKIMAGE_LINGUAS")
|
linguas = self.d.getVar("SDKIMAGE_LINGUAS")
|
||||||
if linguas:
|
if linguas:
|
||||||
import fnmatch
|
import fnmatch
|
||||||
|
|||||||
Reference in New Issue
Block a user