]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: check locale and refuse to start if it isn't UTF-8 paule/devtool-utf8
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Jan 2017 20:16:22 +0000 (09:16 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Jan 2017 20:24:28 +0000 (09:24 +1300)
commit217c70e9ea20c2872a66b34294e559a113250569
treebc5b0dfa2fc9dc877b45a60a729536848c52e3ac
parenta7cb408dd784178197687a2129e936620bf6a0d3
devtool: check locale and refuse to start if it isn't UTF-8

We need to ensure the locale is UTF-8 or otherwise strange errors will
occur later on during execution - the same reason we check this in
BitBake itself. Unfortunately this check has to be before command line
parsing and therefore showing the help text in response to --help, since
that relies upon parsing bitbake's configuration (as we need to load
plugins in other layers).

Fixes [YOCTO #10908].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/devtool