From patchwork Tue Nov 26 14:59:03 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pascal de Bruijn
X-Patchwork-Id: 1201098
Return-Path:
X-Original-To: incoming-buildroot@patchwork.ozlabs.org
Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org
Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized)
smtp.mailfrom=busybox.net (client-ip=140.211.166.133;
helo=hemlock.osuosl.org;
envelope-from=buildroot-bounces@busybox.net;
receiver=)
Authentication-Results: ozlabs.org;
dmarc=none (p=none dis=none) header.from=unilogic.nl
Authentication-Results: ozlabs.org;
dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=unilogic.nl header.i=@unilogic.nl
header.b="ip4zWJd7"; dkim-atps=neutral
Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
bits)) (No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 47Mn9c5DVwz9sP3
for ;
Wed, 27 Nov 2019 01:59:16 +1100 (AEDT)
Received: from localhost (localhost [127.0.0.1])
by hemlock.osuosl.org (Postfix) with ESMTP id 48029880E0;
Tue, 26 Nov 2019 14:59:15 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from hemlock.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id gKwxYEtzd5RJ; Tue, 26 Nov 2019 14:59:14 +0000 (UTC)
Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34])
by hemlock.osuosl.org (Postfix) with ESMTP id 54679880C8;
Tue, 26 Nov 2019 14:59:14 +0000 (UTC)
X-Original-To: buildroot@lists.busybox.net
Delivered-To: buildroot@osuosl.org
Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])
by ash.osuosl.org (Postfix) with ESMTP id 687601BF23F
for ;
Tue, 26 Nov 2019 14:59:13 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by whitealder.osuosl.org (Postfix) with ESMTP id 62F4086D73
for ;
Tue, 26 Nov 2019 14:59:13 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from whitealder.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id VklYyoXR0LwR for ;
Tue, 26 Nov 2019 14:59:11 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from mail-out122.unilogicnetworks.net
(mail-out122.unilogicnetworks.net [62.133.206.122])
by whitealder.osuosl.org (Postfix) with ESMTPS id 8EB9086D13
for ; Tue, 26 Nov 2019 14:59:11 +0000 (UTC)
Received: from mail.unilogic.nl (unknown [62.133.204.111])
by mail.unilogicnetworks.net (Postfix) with ESMTPS id 4C05549F64
for ; Tue, 26 Nov 2019 15:59:08 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unilogic.nl; s=mail;
h=from:subject:date:message-id:to:cc;
bh=H+Tc1PncVIu2bdTJ4v7q6oT94ITHGWinb14QSWRcEbw=;
b=ip4zWJd7Ksxi/F6Hv50oKZ0uT947kj3WpMdteTCKAQuN/l/Ppz9XBdvdSiQzfuLRf/uvdKnvKQ28Z
6CuPBdubHksIgsP0IRJoRkZtedC15jkcl4QINvQ5wHdcU0mGUX2aLyk/SYuBaRHIUXBCr6BofnKXon
YnMZNqINpdlwJ2n/T1Yt6j5IINfGlrayDx970Yv95oAe2RsIvuOTcwRZXZi9Kf2yFB7txoQ5Flh0y9
564ZUHPEIDlRjz/adEGAgHibb+sTphzQE7vHDL/OhZItZ9I28AfyE0I+8St1OQoW0FtLvjuwosmckq
c2eLomOKebGGvdSKwsAhq3Yn2DCoHAw==
X-Kerio-Anti-Spam: Build: [Engines: 2.15.9.1281, Stamp: 3], Multi: [Enabled,
t: (0.000005, 0.002458)], BW: [Enabled, t: (0.000006)],
RTDA: [Enabled, t: (0.204565), Hit: No, Details: v2.7.67;
Id: 15.1i6092o.1dqk3i97r.1gvm7], total: 0(700)
X-Footer: dW5pbG9naWMubmw=
Received: from localhost ([127.0.0.1]) by mail.unilogic.nl with ESMTPSA
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits));
Tue, 26 Nov 2019 15:59:06 +0100
From: Pascal de Bruijn
To: buildroot@busybox.net
Date: Tue, 26 Nov 2019 15:59:03 +0100
Message-Id: <20191126145903.12234-1-p.debruijn@unilogic.nl>
X-Mailer: git-send-email 2.17.1
Subject: [Buildroot] [PATCH] package/glibc: do install locale unless other
utils are installed as well
X-BeenThere: buildroot@busybox.net
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion and development of buildroot
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: Pascal de Bruijn
MIME-Version: 1.0
Errors-To: buildroot-bounces@busybox.net
Sender: "buildroot"
Fixes: fb1ee93ca4378456774e1ae24fcf370417733a38
Signed-off-by: Pascal de Bruijn
---
package/glibc/glibc.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index e366134..4dc87e2 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -146,11 +146,10 @@ endif
ifeq ($(BR2_PACKAGE_GLIBC_UTILS),y)
GLIBC_TARGET_UTILS_USR_BIN = posix/getconf elf/ldd
GLIBC_TARGET_UTILS_SBIN = elf/ldconfig
-endif
-
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
GLIBC_TARGET_UTILS_USR_BIN += locale/locale
endif
+endif
define GLIBC_INSTALL_TARGET_CMDS
for libpattern in $(GLIBC_LIBS_LIB); do \