From: claudius.heine.ext@siemens.com
To: isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: [PATCH 2/2] buildchroot/build.sh: set locale variables
Date: Thu, 26 Apr 2018 15:40:54 +0200 [thread overview]
Message-ID: <20180426134054.18815-3-claudius.heine.ext@siemens.com> (raw)
In-Reply-To: <20180426134054.18815-1-claudius.heine.ext@siemens.com>
From: Claudius Heine <ch@denx.de>
Some Perl warnings occured while building packages. Adding the some
basic locale environment variables to the build script fixes those.
Signed-off-by: Claudius Heine <ch@denx.de>
---
meta/recipes-devtools/buildchroot/files/build.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
index 06172f7..aa769e4 100644
--- a/meta/recipes-devtools/buildchroot/files/build.sh
+++ b/meta/recipes-devtools/buildchroot/files/build.sh
@@ -9,6 +9,11 @@ set -e
# Go to build directory
cd $1
+# To avoid Perl locale warnings:
+export LC_ALL=C
+export LANG=C
+export LANGUAGE=C
+
# Install command to be used by mk-build-deps
# Notes:
# 1) everything before the -y switch is unchanged from the defaults
@@ -46,4 +51,4 @@ for i in configure aclocal.m4 Makefile.am Makefile.in; do
done
# Build the package
-LC_ALL=C LANG=C dpkg-buildpackage
+dpkg-buildpackage
--
2.17.0
next prev parent reply other threads:[~2018-04-26 13:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-26 13:40 [PATCH 0/2] Fixup Perl warnings about locale claudius.heine.ext
2018-04-26 13:40 ` [PATCH 1/2] classes/isar-bootstrap-helper: set locale variables claudius.heine.ext
2018-04-26 13:40 ` claudius.heine.ext [this message]
2018-04-26 16:55 ` [PATCH 0/2] Fixup Perl warnings about locale Alexander Smirnov
2018-04-26 17:27 ` Claudius Heine
2018-04-26 18:15 ` Alexander Smirnov
2018-05-15 12:21 ` Alexander Smirnov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180426134054.18815-3-claudius.heine.ext@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=ch@denx.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox