[oe-commits] [openembedded-core] 17/32: sdk: Install nativesdk locales for all TCLIBC variants

git at git.openembedded.org git at git.openembedded.org
Thu Jan 16 22:39:27 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch warrior
in repository openembedded-core.

commit 7b8f6388e0a1e1eab35918a3764e98553a2452f4
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed Sep 25 22:15:59 2019 -0700

    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
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/lib/oe/sdk.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index b4fbdb7..d02a274 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -88,10 +88,6 @@ class Sdk(object, metaclass=ABCMeta):
             bb.warn("cannot remove SDK dir: %s" % path)
 
     def install_locales(self, pm):
-        # This is only relevant for glibc
-        if self.d.getVar("TCLIBC") != "glibc":
-            return
-
         linguas = self.d.getVar("SDKIMAGE_LINGUAS")
         if linguas:
             import fnmatch

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list