commit | 5ba575339f92bb8ceeddc8499d6bc71da06caf4e | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@chromium.org> | Tue Apr 07 01:05:25 2020 -0400 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 08 21:06:19 2020 +0000 |
tree | 5f0ff97b3aab9747253788d519fe396c6bae6ef7 | |
parent | 1add695bf4b9ccbf573be7de20c10032ddeb3fae [diff] |
enter_chroot: sanity check locale settings If people have a misconfigured environment, detect & abort early rather than fail randomly/mysteriously later on. We require a valid UTF-8 compatible locale in order to work. BUG=chromium:1052082 TEST=CQ passes TEST=`LANG=C cros_sdk` aborts Change-Id: I1f331bfbc4031d4178cadaa6d70a8017e1271cde Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2137986 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>