From patchwork Mon Dec 16 15:59:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 181738 Delivered-To: patch@linaro.org Received: by 2002:ac9:44c4:0:0:0:0:0 with SMTP id t4csp4479637och; Mon, 16 Dec 2019 08:00:40 -0800 (PST) X-Google-Smtp-Source: APXvYqw1USC+DjLWr3XISMdneITzz+Mtb7U8P3o3TOcdHtIzT96KOICzGWx4HxOPQrW6WZbjq5xs X-Received: by 2002:a17:902:bd8b:: with SMTP id q11mr16627352pls.182.1576512039800; Mon, 16 Dec 2019 08:00:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576512039; cv=none; d=google.com; s=arc-20160816; b=0AZMlAlVyTVc5KhYRxnoUkbs/0Wz0a+PA8aOHwhpzXg9jYHJarossc4uAemG5jn5gU +vwMMSb0qzF8M+CqSFZoOC4aASP0SswNjmiN+XNNDRhmlKvYaudawH00qrRpzjfGYnnO lgtTwPyZrpU2QouVVUKh5PzB52c8gDijW44/aBt5ly72/yEbbMAeR5jI58Y9idIfRqRQ Ha5S35I8x8rgqO6P0DrXYQxuTxEkDeKCgW0ja0IzsgJ9YVa+VboVTKSWjfM1ojbo0H2D fI7tOMFdk1G1+thEQIyVDvgZtTarhkmeGUd1XmuBfQnIpi+E+6cLhAraLcmUBN1HTX6V G5/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=+ccJQrMq56cIcnf2Z3/NmIPglD3qjw+vEtE7R7YoUVc=; b=XNzGqvUzGsgh1n/8W/n40V5uQkRzfrBtHrQ3Ltum4XR+8CMtg22vw4qjdB0mOY9rFX JFie9wbzbPhCK0oT8cvAWPzdeqBvxwqmZwJFvOZMVYmhuwRrZnsq6/1fOaM+JpH2fz5c akt7Y/TTYq6gN370W+KZLb5YeKK17nDWJc5GhDbsnBArgiqnuNOWKrnR73bfpe7/puui 1wEk5xqQ0jUuZ7qLTTOYmL6jE+6dUoFz09BU13jcj5F1pwTj8s+/XF+lNjdkivBMacK0 HsIIc2Ih5yIx5L8aah1hBPSfiXMmdV9maBQGaCm/LAUiNOohrrCZV9vnjKnmqCeZAXzR 2Nuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="DCdxnz/+"; 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 cm5si16504796pjb.95.2019.12.16.08.00.39; Mon, 16 Dec 2019 08:00:39 -0800 (PST) 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="DCdxnz/+"; 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 D40507FDDF; Mon, 16 Dec 2019 16:00:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mail.openembedded.org (Postfix) with ESMTP id EDC017FDA1 for ; Mon, 16 Dec 2019 16:00:11 +0000 (UTC) Received: by mail-pg1-f175.google.com with SMTP id q127so3963291pga.4 for ; Mon, 16 Dec 2019 08:00:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=2/glOOHy3oqk/KUsu4K7YjaSpxAyMsywLlB6f9m561o=; b=DCdxnz/+119K5GTYfWcInlNdq9kQBPHYBx6J8gx8Doic21YQbtuJCCi8/TMw1Kn00z CRyrA2F5FKpRY2tPCz0aW9NoREUPJDpbvjaQI+1kFWfbnPEwBy4MSv610lthhp3onu2X iJ+KJS1pVVLkNMtACFHChxbyvvUI8j4Y5XMpcYwaoPZBw3FXKVSAmTkPfUr6YStww/q2 dzlD2wptkXaw3u1IBF1A5CBHi2kwnmVjQOmsZ2wRI4EAhVeMCrm4Xqijebqy58kWompP vdC5jWU9Awv3eH5A8oNudMLhwRNdvXph0ZIGECCB1LgnJlo/ic4jwf1vLQ/Uffb91BPu P3Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=2/glOOHy3oqk/KUsu4K7YjaSpxAyMsywLlB6f9m561o=; b=IsTOGMzX1TVvXki3Do0tjzS58kjbSsi99BKIDzWOFVt6q253FVZM12veL3KTuyLvp5 Ev9pgqoaZV6NN5Y2v/u+KHiMEfXLzoeElfVPzjIe08qMsqQQEkmoA0Jwdw09WuHe+HIY +2qsy4IlnVsnlneW05OJJBtrK6nivUATAPmtdwtKNCHTlwzAr4hOFIS8oMLF2ogmeTfn jhXCtwnxkyjZO3ME0SEcA70Ne0mGABULzndHvt4vG6RXKvqjx7yGcVAzm+2m2KG6NEmd dZB5oGtC6QBGeSqU3aUtNCZqDQ6jW5tu1eSWcCXMC3ufXMphHWGgcGSWPyD3fRH6J1kQ Aq1Q== X-Gm-Message-State: APjAAAUw/Wuaw0ruUqK+fhC+uXp9A94VfcDC6iHlMiLGFoOeaCo4LAQs /YO76Jy35bS7OZRzT4pvg+uvN34jLPc= X-Received: by 2002:a63:646:: with SMTP id 67mr19218061pgg.150.1576512012858; Mon, 16 Dec 2019 08:00:12 -0800 (PST) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:a5c0:e5c5:31c9:a010:f145]) by smtp.gmail.com with ESMTPSA id g6sm19568697pjl.25.2019.12.16.08.00.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Dec 2019 08:00:12 -0800 (PST) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Mon, 16 Dec 2019 07:59:52 -0800 Message-Id: <4a17afb3fe42cbc01c52b2d5357f6021bf782c01.1576511913.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [thud 02/18] 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Khem Raj 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 Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/lib/oe/sdk.py | 4 ---- 1 file changed, 4 deletions(-) -- 2.7.4 -- _______________________________________________ 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 153b07d..ef81f8c 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -84,10 +84,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