]> code.ossystems Code Review - openembedded-core.git/commit
devtool: check locale and refuse to start if it isn't UTF-8
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 19 Jan 2017 20:36:00 +0000 (09:36 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:04:00 +0000 (12:04 +0000)
commit370c6ba16c72bb52e80da098a5812ed1e09ac659
tree9ac31b7976c6a816db9be287bdd386d1600e8dc0
parent3f3344d1c063b0013a9ae7203bac30ab8f4ea17c
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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/devtool