[gnome-continuous] Do yet another attempt at a UTF-8 locale
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] Do yet another attempt at a UTF-8 locale
- Date: Mon, 10 Jul 2017 09:01:56 +0000 (UTC)
commit 7f996d13e4ff1306acc1fc1d06bba0a3e065f296
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jul 10 09:58:59 2017 +0100
Do yet another attempt at a UTF-8 locale
We build inside a Yocto build root, and since Yocto does not ship with a
patched GNU libc to provide a C.UTF-8 locale (like Fedora and Debian do)
we need to use a valid locale otherwise we're going to break everything.
The image we build defaults to en_US.UTF-8, so let's use the same locale
during the build.
At some point, with a newer version of Yocto and a newer GNU libc that
solves this:
https://sourceware.org/glibc/wiki/Proposals/C.UTF-8
we're going to switch to C.UTF-8.
src/js/buildutil.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/buildutil.js b/src/js/buildutil.js
index ee93285..da3ac91 100644
--- a/src/js/buildutil.js
+++ b/src/js/buildutil.js
@@ -27,7 +27,7 @@ const BUILD_ENV = {
'CCACHE_DISABLE' : '1',
'HOME' : '/',
'HOSTNAME' : 'ostbuild',
- 'LANG': 'C',
+ 'LANG': 'en_US.UTF-8',
'PATH' : '/usr/bin:/bin:/usr/sbin:/sbin',
'SHELL' : '/bin/bash',
'TERM' : 'vt100',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]