]> code.ossystems Code Review - openembedded-core.git/commit
terminal.py: Allow devshell/menuconfig on recent gnome-terminal
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Tue, 2 Jun 2015 19:54:27 +0000 (14:54 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jun 2015 13:08:02 +0000 (14:08 +0100)
commitec79684a1eb594099d342a416ba3f5ad0b342a53
tree2e417df5da0b7fbc22e5adb23b0815c8554dbc5d
parent72bf99d2d9a4a8030cec47b39aa18811752ca254
terminal.py: Allow devshell/menuconfig on recent gnome-terminal

Recent versions of gnome-terminal does not support non-UTF8 charset:
https://bugzilla.gnome.org/show_bug.cgi?id=732127 as a result, devshell and
menuconfig tasks silently hang  (error found on trace log of 'strace -f -v
-s 8192 -e write=2 bitbake -c devshell quilt-native': "Non UTF-8 locale
(ANSI_X3.4-1968) is not supported!"). As a workaround, clearing the LC_ALL
environment variable so it uses the locale. Once fixed on the gnome-terminal
project, this should be removed.

Tested on gnome-terminal versions:

       GNOME Terminal 3.4.1.1
       GNOME Terminal 3.14.2 (Default on Ubuntu 15.04)

[YOCTO #7791]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/terminal.py