Message ID | 20200615072055.2083-7-nolange79@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=J+X6dE4y; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49ljSH0sfYz9sRf for <incoming-buildroot@patchwork.ozlabs.org>; Mon, 15 Jun 2020 17:21:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6A17D8815A; Mon, 15 Jun 2020 07:21:33 +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 2HGBGhSmXr19; Mon, 15 Jun 2020 07:21:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A7C92882F4; Mon, 15 Jun 2020 07:21:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 6473B1BF4E7 for <buildroot@lists.busybox.net>; Mon, 15 Jun 2020 07:21:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 60E7C8806D for <buildroot@lists.busybox.net>; Mon, 15 Jun 2020 07:21:21 +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 xNaQY8FSGCG8 for <buildroot@lists.busybox.net>; Mon, 15 Jun 2020 07:21:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by hemlock.osuosl.org (Postfix) with ESMTPS id BA9C087BC0 for <buildroot@buildroot.org>; Mon, 15 Jun 2020 07:21:20 +0000 (UTC) Received: by mail-wm1-f45.google.com with SMTP id g10so13487193wmh.4 for <buildroot@buildroot.org>; Mon, 15 Jun 2020 00:21:20 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=RUsdlQl6t/Stk7DnPDpjaeIB/kZFt3kOVrqNSSxwU8I=; b=J+X6dE4yAClsz7Rh0KRZUCEJjIcT5TRfmOx+dU9UTcREHF62ZRvFBrOXI1OoCNT+BH HRpcfqI70ubrryyochCOR/G0RceZG2sz9AoJLA57HRKJ91pczt/PxneiqITke5kSWm6z /JVnhenuisrNwn+f9iKdUAipEuxvU/XItFM4boczOa+6aOsfmdbU5gGP5t6vtaK5j6I/ pC05AkkftzLBNlFk2uZv3pYJtsnNUlfOQX26Mbb1CBcXEbSgAhLGuRmPWhJQh8uJfuCy 4Dwm8EWbOLctlztzfEozFFZ1ExtlkJbvjkHSe46JOxaUHk0wcUhklI+xddmo74repwgv ulug== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=RUsdlQl6t/Stk7DnPDpjaeIB/kZFt3kOVrqNSSxwU8I=; b=LCskyag+wasmgwhKF6boxOj7W2+H2wL0RArX8DZyNIiixbBLBHnnGwH+LMJypXPsBI /fqliEyUpJg7AAIGRuzsD9Zu8pOfM00aKqjbTxQnCNtLEKy0MB0CiLbR4HmD4x2vGp3D XEOHuc61tAYXbkhdSdSQVH5qv9iWwp9/GT/3Q4uNKamY6Gb3BS9lPt5TN89MaTJpo/NM RV6zLPPFpdHQ/6jeP08TM+AjG4bl1LRidWMxUIyrYO29XVRrhdawrAEPwgmuQ8M7VEyc Il4CZ+Vj76lWolSGY/Po/41udWQFin8oA6MmNbRE4hQO4A1NMSgw7zcPvQqdBprzyK/N 3l4g== X-Gm-Message-State: AOAM531bxaDTAsO6gaMyoRTBf8G9tVH/ft2C7DPB+qf7yWk9iPyF5fsn 9KusJR2e2JSC7z6jREou0tt/EmGVfVM= X-Google-Smtp-Source: ABdhPJwNDhwZuTFeP7bcr69/8m8Ouur/c58iSV9pn4RctO7bRykQjmdC3qWO6AAjcFClcW9Cjz1Z7A== X-Received: by 2002:a1c:e90a:: with SMTP id q10mr12139062wmc.140.1592205679043; Mon, 15 Jun 2020 00:21:19 -0700 (PDT) Received: from localhost.localdomain (84-114-45-16.cable.dynamic.surfer.at. [84.114.45.16]) by smtp.gmail.com with ESMTPSA id q4sm5605291wmc.1.2020.06.15.00.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 00:21:18 -0700 (PDT) From: Norbert Lange <nolange79@gmail.com> To: buildroot@buildroot.org Date: Mon, 15 Jun 2020 09:20:46 +0200 Message-Id: <20200615072055.2083-7-nolange79@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615072055.2083-1-nolange79@gmail.com> References: <20200615072055.2083-1-nolange79@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 06/14] Makefile: Handle systemd catalogs in PURGE_LOCALES X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Norbert Lange <nolange79@gmail.com>, jeremy.rosen@smile.fr Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
[v2,01/14] package/systemd: configure nss plugins in nsswitch.conf
|
expand
|
diff --git a/Makefile b/Makefile index ce1c08a6f6..dd4cc4c4c2 100644 --- a/Makefile +++ b/Makefile @@ -709,6 +709,14 @@ define PURGE_LOCALES fi \ done; \ done + for cfile in $(wildcard $(TARGET_DIR)/usr/lib/systemd/catalog/*.catalog); \ + do \ + basename=$${cfile##*/}; \ + basename=$${basename%.catalog}; \ + langext=$${basename#*.}; \ + [ "$$langext" != "$${basename}" ] || continue; \ + grep -qx "$${langext}" $(LOCALE_WHITELIST) || rm -f "$$cfile"; \ + done if [ -d $(TARGET_DIR)/usr/share/X11/locale ]; \ then \ for lang in $(LOCALE_NOPURGE); \
journald supports localization with Catalog files with a naming scheme <name>.<lang>.catalog. We want to purge them like other locales. Signed-off-by: Norbert Lange <nolange79@gmail.com> --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+)