From patchwork Thu Sep 26 05:15:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 174442 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1578833ill; Wed, 25 Sep 2019 22:16:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyeLIynaVzLT9D4vfT5m8n+ryE77sDRqI+5Z8oBNxfkFro5R3lZSINgTb3ka5H38xdAMib X-Received: by 2002:a63:7f59:: with SMTP id p25mr1592203pgn.11.1569474983529; Wed, 25 Sep 2019 22:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569474983; cv=none; d=google.com; s=arc-20160816; b=KTpy4kPYefHOnHgm2+tnb4HL0DDdKmMo11odaY7RdLzlhZkwaOioJDcIqVVUJx8x8e z76S2iz2pBqffNwH4CLjp7A0gbYkdIb8zLDZL42A2EHu7H48fOy9ns2ixTd4apNji9Tp CfpbUQFP9BUL8pgz+p4VmJ+kYLzEQYM8gXX0weSxO1k3TqVu78VOeI9WN+wgc2Qb2JB6 QEfkmomHJ1e0dEDmRdkqYU96z56J7A+Slty2IL49qr/3wrSf+B368+zKv0HPf442JXCp nOXZT6QJaa6gvldtBjmryxzy/M+1hfHcLjy9KLUgoSv7KOik+OIBvce7XPcVOvUlC+DF dKuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=G5hgX9+GNMu20HT1zOQjDcfUtfHi+5fHo/3M3aVuf2k=; b=CfHFzzXa4to+FaZN4CCKUNHvQ5niD9YjsPgT2KTWpyaorCVT7k/wfg4xGy/NMEvzar MSjjLXwP/ZWgEh2FHe6tSRSL0ay+G60kgoak9t5Yff0DCNyM9l1Ju1RFSP/jm7QEUB9W pZhRl88Cm6Bgi/cMrrjYv8HjERK6r+U823CgbHlQDpw0uMo9gNalXqJ9i4C8I106BbOH NzXulrWF5siCuMrL8wM3v0FgCXSlZ1cYgg9I+olXYfMIhhEXpr8fy0+mLom+S/abUq7r owPEd64X2thf1095I5Wz6ElrWW8PKVK1HYFjr29pN0PBzVn54TZwKpJlvT2nKKfx7Yex aVBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hJAL7kKD; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z7si985890plk.5.2019.09.25.22.16.22; Wed, 25 Sep 2019 22:16:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hJAL7kKD; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7549D7ED46; Thu, 26 Sep 2019 05:16:14 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id C67006D666 for ; Thu, 26 Sep 2019 05:16:12 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id z12so815778pgp.9 for ; Wed, 25 Sep 2019 22:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B2qbCInZvsaZrdxxiQna8+XPKMAnPi6wXWWRkc2rhVU=; b=hJAL7kKDDMXAj3TVk0BMOOqj+ATsPa5zMqXX4Z4v0CvLX8MdsjLKjvCalFOKUJyGlB Q3ahXa1aaa0tMNl3iukrAAbPuHX50wRhJLjtDBhKeZsqEgeK27T7KIV7cHATovRgNTSz YGDrMMWVdECKDArHAzT6/5HC0xOwQgyOb/GsQBtjbFS9mEyoNoYndaxneP7Bj6aX5gk8 EwqahV3FqyPiaQxgtc7X17+O/JNhRnjflxGqoY21An9EChQdU8zOqcjYYd52SZQKHaQ8 EG0Xh4uJNnlvdCsDLYVjhNW3yXCmZhOwTTdbCpDhvm3VLt56ruastR+EghSOnCPjWoS7 zrrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B2qbCInZvsaZrdxxiQna8+XPKMAnPi6wXWWRkc2rhVU=; b=OGotoGORJlj0NriL1PN7a+WoNf9MNRT14pxSIGt3mXUaOYHELGAPlblEIidzlklQBw fyW4D6iQ2E4gVoNSJRU3gFksn0XzsFUr5Dl5N5rvYngqsfzoRIn0zla6PYo5gutUpvfE 92lJJA/7DMdUMN9PflAPHdHmjXgke/hGZcv/DnrtWwwLqPNEXya15AS7h4J7yPKIFZDh c3XvyfuSA4ap9XgJainLSB57VlI9P1zL3o/hdXDTsCca46ESfq9l3wbyzVTb2VzlHDqN t6uTadx8DXvNHUj/JMnwTDWsVPqv2MkUb0VjQTJseMqNbxlGA71N4hZZYVPZ3iPpZTaf iDwg== X-Gm-Message-State: APjAAAVOVvwwgdIwwvmX3dqwJ/mTiYesDe4/qRdSlTr0n4Td06XfDCOF y67i+y+k6CPOHQDhqw0jMbcGK+oB0ZA= X-Received: by 2002:a62:19c7:: with SMTP id 190mr1598148pfz.105.1569474973194; Wed, 25 Sep 2019 22:16:13 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id q13sm841294pjq.0.2019.09.25.22.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 22:16:12 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 25 Sep 2019 22:15:59 -0700 Message-Id: <20190926051559.2120971-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH] sdk: Install nativesdk locales for all TCLIBC variants X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org 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 --- meta/lib/oe/sdk.py | 4 ---- 1 file changed, 4 deletions(-) -- 2.23.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core 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): 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