From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD04A1382C5 for ; Sat, 6 Feb 2021 16:28:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC6C2E0827; Sat, 6 Feb 2021 16:28:30 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C26B8E0827 for ; Sat, 6 Feb 2021 16:28:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9E3C341069 for ; Sat, 6 Feb 2021 16:28:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78BC94A8 for ; Sat, 6 Feb 2021 16:28:28 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1612628290.0785165ca64b8e6396a24043789d0bfb8b3359d3.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: genkernel X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 0785165ca64b8e6396a24043789d0bfb8b3359d3 X-VCS-Branch: master Date: Sat, 6 Feb 2021 16:28:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c84d66e2-3a39-4853-9705-f9530d185967 X-Archives-Hash: 17d5a9d871ece36414391243cea2830a commit: 0785165ca64b8e6396a24043789d0bfb8b3359d3 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Feb 6 16:18:10 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Feb 6 16:18:10 2021 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0785165c genkernel: normalize locales We need to ensure we are using same locales within genkernel because some regular expressions or program output we parse maybe different depending on used locales. Bug: https://bugs.gentoo.org/763165 Signed-off-by: Thomas Deutschmann gentoo.org> genkernel | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/genkernel b/genkernel index 6ec8905..85c2021 100755 --- a/genkernel +++ b/genkernel @@ -4,6 +4,12 @@ PATH="${PATH}:/sbin:/usr/sbin" GK_V='4.1.2' +# Normalize locales +export LC_ALL=C +export LANG=C +unset LC_MESSAGES +unset LC_CTYPE + GK_TIME_START=$(date +%s) TODEBUGCACHE=yes # Until an error occurs or LOGFILE is fully qualified.