From patchwork Thu Aug 30 00:06:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 145485 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp185970ljw; Wed, 29 Aug 2018 17:06:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYdT0edut+RRmCuT40j2fsqX9Sl5As/5mKxFF950cLLo99VZGp+Ja4vvw+WxU/sAMewKRcI X-Received: by 2002:a65:5284:: with SMTP id y4-v6mr7474634pgp.283.1535587596811; Wed, 29 Aug 2018 17:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535587596; cv=none; d=google.com; s=arc-20160816; b=H3rJHQzZzwtYyp89IZaR7dfTpsu0TKVx9T+RNPudbqXSQy1H7Y0hvcLTvG7OEAW7qH 0VhXdTnlYtpFuS58Ks3Ps2wRnEeu3XDejn7U/414t7/L5bBBNVAERg57Hiu6DBLuSNCP M2qRZq0XF+hADPQjBOTZWSdG4kj8jhgaeBcDpf6+/J8Z2cihgmullRZcnRBMOXpi2Ewm k23PVHFSKRxSOKgeBYuKvXSFew0z3/kFwoIkoWE91LuyamPzN7LEpruOuYZSrdK08zpc VrpxifQT2yhlulx6FjbZcvG5m9cS3s2f0sRJ5rdgxHOpuusE98Hvjs1vdEOc9c83cJ5S XMKw== 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=yaKXNNTFtOo6IZDGY7CHG11DoFHBxTXVQW3W7INodhY=; b=fhiU/wNf71i+aLsybmA5Y0H5+e8A8VrzhBfLbyslgShB0qiaoaFj5uPot1lawuiCeV WvfykxIOtvTP8NTJxYI7EcNaMyeGgVLQEnj0A3UyGiq+YSNWYvTA6ZaNzqkDr4tvXpFI YqW6RiyNdHZveGURgQfZCNy89OgyNscWoXhYzHX6T1GIXU0yZtf58elcxH6p295S+EzB ATGxMAK1dRMv4wb1MNI9i35ZfbAFHq7DvwattuS+ui9CS1LIsA0mv/jItbFA7ySoY+eY dk+41wvU27Sc8rEOjuXiorsM5ecxRVw/cgAs9nOCswML/+k3cKXmqIHjwfKQ5VrzbaHC UO8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="I1rZhj/q"; 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 l5-v6si5100598pgb.686.2018.08.29.17.06.36; Wed, 29 Aug 2018 17:06:36 -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="I1rZhj/q"; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 200CB79367; Thu, 30 Aug 2018 00:06:21 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id 76E8379322 for ; Thu, 30 Aug 2018 00:06:12 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id d19-v6so3045951pgv.1 for ; Wed, 29 Aug 2018 17:06:13 -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; bh=i4FZFubAl8mUdHopqOn4T0iMMssQT5lcHaMSCleChXA=; b=I1rZhj/qgrVEQvlrpAS0Zex8dlEEDmh7yTH2+00hJq+qq51WgZWXUxKKFbKVk7/49I XXTyMliPI1eozzicB2c5cONziHHJlx7YiJl4RdkgJTvIf+jhF9dxapUqL6juPv6893g4 4QUWyJjXBLelTrI8Dq4kVO5xVYC/AhOHqVfqBRpdZlM8A8gbRxlBb9XyIzKtBrLNt62J HOR7JABdEJKiBDzxeUXkUfIr/xy+4Gry0ue5PJvDo8vuhi5OWhECOFqSFxOsc0er+f8+ zCbD52ZS/mDtPaOb7NouXYBcwcQYjT0GtdrqZRxBOlffAqvBdCEuIZg2WWWu7kR2eis8 ESfw== 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; bh=i4FZFubAl8mUdHopqOn4T0iMMssQT5lcHaMSCleChXA=; b=LysaCW87GQ3sMusKakFPWpxT34o0HxV4Gupv8fkCXQHIoAjsdWBV1YB+hNDrMK8+uH yXZeXupZTZ9gw1n0UsmWO/A2E9yjLCtXCgY9s4aW/pjwgJU3sDa/aHz8VxK/7XGOj7I+ fmpDgtDh0lTucfDhWbYSk1CvsghvtTlbhVNLRJuHJ31c/7SVvoPETcuGfBLboAQ+TR4G eelQC/AxcHZhsWjnPRDoPrD8qLa6V3Fcu3OXEXGnTTPjJUVnyNwiIoMSuvedAj3nVCn6 Q1MYz07sL2GHolguREm0PJNuhqFz5WX+BULe0R3kS1npaYJI/Rvfz2q8A7BM6rg3sx9r kj3g== X-Gm-Message-State: APzg51AExbEE5jlTb4a/83lzoELfBwIFWs0YK/l/SRFOnMZThkmPoFlQ znqh4vgC6RS05CTJaN2YYyuYHPAd X-Received: by 2002:a63:e647:: with SMTP id p7-v6mr7246268pgj.218.1535587573115; Wed, 29 Aug 2018 17:06:13 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::f180]) by smtp.gmail.com with ESMTPSA id x65-v6sm8295727pfk.140.2018.08.29.17.06.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Aug 2018 17:06:12 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 29 Aug 2018 17:06:02 -0700 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 4/4] glibc-locale: Enable riscv64 and riscv32 in BINARY_LOCALE_ARCHES supported architectures 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 This support is there using cross-localedef but was not enabled, this caused the post-install for locales to be emitted which delays the boot significantly. emitted postints for locales contain exit 1 which is flagged now and was causing image generation to fail. Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc-locale.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc index e50e5cf5e3..1b676dc26e 100644 --- a/meta/recipes-core/glibc/glibc-locale.inc +++ b/meta/recipes-core/glibc/glibc-locale.inc @@ -21,13 +21,13 @@ RDEPENDS_localedef += "glibc" # to decrease initial boot time and avoid localedef being killed by the OOM # killer which used to effectively break i18n on machines with < 128MB RAM. -# default to disabled +# default to disabled ENABLE_BINARY_LOCALE_GENERATION ?= "0" ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "1" #enable locale generation on these arches # BINARY_LOCALE_ARCHES is a space separated list of regular expressions -BINARY_LOCALE_ARCHES ?= "arm.* aarch64 i[3-6]86 x86_64 powerpc mips mips64" +BINARY_LOCALE_ARCHES ?= "arm.* aarch64 i[3-6]86 x86_64 powerpc mips mips64 riscv32 riscv64" # set "1" to use cross-localedef for locale generation # set "0" for qemu emulation of native localedef for locale generation