From patchwork Mon Mar 5 11:01:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 130628 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2547889lja; Mon, 5 Mar 2018 03:02:18 -0800 (PST) X-Google-Smtp-Source: AG47ELuAG+SDg5lfTRJnvsaLvn/JkolHW5BBvMRkHzluAJ7qug7uLfQqyZ5DC3vKdWE9vUIV1okH X-Received: by 10.98.201.88 with SMTP id k85mr70692pfg.9.1520247738029; Mon, 05 Mar 2018 03:02:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520247738; cv=none; d=google.com; s=arc-20160816; b=iB1wZ89WKuNhKj4Ghy9K9e4La1sOUu+urCyMjJQOCEvqBQOaf6arH4cYNt21MxfiOq uclIZ3koJVgB3CP+l3Dhm0V2GcRXWiJ8FDrKEtWXNNdPsQ9U2xscU/oRNgDJnogXM/pE vebSRVYst+jHTFpnoR8Q1K7Za7x/qRG/5EWM7w+GF9Iazii/uS19Avkpk+3OuQVL8FQJ gPnJfR1nVxSWeNRCPxQaZ01UieCB7kFGltcizXM/txYffBLPmAGR/JQ8P+pbJQT5IhN8 0aHi0Cazm3+ZHEzqtINEjdlQr7XZtp7XSkeT8qnvdhbjiKjA6PwxkVGX1R8WYiCwToCn G4qQ== 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:arc-authentication-results; bh=f3Q82a5C7+0YSAQPSWJaiYllkIjgjYQjrwN0rUp7vmI=; b=piKHAoSfg5HSMf/5W4gpH0CgDRLZVXtiZc679ESjXrWCbmWt8KG3yR682TeNXvwRKH h05jwK0eyLadljmyBBBcMnPDHZT8hdZDXlHunFbxtl1/tZZyQaVNBw7jYi13/AXfgvYy OuOu8gR0ywaQlvKHmAef6CG9M6300bF+MQISo6vaM4SiEP0F/zVadrBbDnyw1zf8nPlf oZs2jCwCa3adVHEKU3ceSqi7b3hqvjJwGS/htsVqkOc68eLgQNp2UC24iqkXNCfrxkQ9 0DO314S9QKUUuAdStw3p9EhkFgOgDtXSKU7f/i6dSGuzoTjLB+HsyOIjy7sr/w2jP7V0 cuFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Ot3TZDPg; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id s16si10049313pfe.375.2018.03.05.03.02.17; Mon, 05 Mar 2018 03:02:18 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Ot3TZDPg; 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 Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 63A1C78A85; Mon, 5 Mar 2018 11:02:10 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by mail.openembedded.org (Postfix) with ESMTP id 41D1678A91 for ; Mon, 5 Mar 2018 11:02:04 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id 139so14636423wmn.2 for ; Mon, 05 Mar 2018 03:02:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=yDjhwm+v44UdSBpVXk0l1bbIwvMs3qon6nwtWF+bnZU=; b=Ot3TZDPgYWy8S2vv32OgL92P8P493AfO6Q2zPi0JIPKMpZdvA8dkSPv7Sntt9uJiwZ 3sPd1TQQf4qkaKdO3HheitGAE5/Ihmy2uJ9gdppKJIbheDafGcwj+B04TeiBLBGtdxv/ u9g4DFTLS/R3jg/KWDz95xvkUxQGJHqL8d3KemB+vu8PZkFQOQFw1oBWn4QeVsrt58n1 mHOPNoymFKxcYcSGasDXWDq6QXcYBg8OZG2XKWGQIBxwwWYIH4FffI23BCwObnDZ54Yb 0+24Ni46swg6ygGHy6+T7U8PRvFid/5PK0OQBTmh6BLyslOcViscOBCkoXBg4rKLELgZ buqA== 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=yDjhwm+v44UdSBpVXk0l1bbIwvMs3qon6nwtWF+bnZU=; b=rDuAp/mZ76bVUKBI306Mj6gE030YrKwBiO7L0ERPSnv3Z4Q3wm2+kexYQG3DFDZIyS rfkrX2dm8ZJiKNgFEM0OjIhxJZJKZYS/yx2rXbDmsAC8BZ8illfutN4O+s1ZJg4ebuB/ bo56UG3ghZcUArpyR92wHcoZtgTK6fnniC4aSZonHDPWOSkGLFtIfhZfff6aiMw1MWhb zyG9GTNQrH+85DGQNURIzTp4Nje8LR3CLtvsUQRDOxcQyR1gvzu10pgTfMUAktj1a3tD iNk1+gfF3nkwXmk1T0XurI3RWZnxVeZLxv+SAWSApLP2azPsMdjednjlb0FEcmLitdLa YpSg== X-Gm-Message-State: AElRT7E1pv873NrxJ3eoGk/q3vkdaOQYu8WNXFtitFSKdZtPsjm7Zmtb EoBzWToGnKBYIJsyMs9OqMCGDf0P X-Received: by 10.28.142.135 with SMTP id q129mr8638957wmd.112.1520247725741; Mon, 05 Mar 2018 03:02:05 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id o9sm13042874wrf.43.2018.03.05.03.02.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Mar 2018 03:02:04 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 5 Mar 2018 11:01:57 +0000 Message-Id: <20180305110158.10308-3-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180305110158.10308-1-ross.burton@intel.com> References: <20180305110158.10308-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 3/4] sdk: only install locales if we're using glibc 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 Using glibc-locale to install locales only makes sense if we're using glibc. Signed-off-by: Ross Burton --- meta/lib/oe/sdk.py | 4 ++++ 1 file changed, 4 insertions(+) -- 2.11.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 76fe02c37b2..6cd4115202f 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -130,6 +130,10 @@ 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