[oe-commits] [bitbake] 01/02: bitbake: be more explicit when warning about locale choice
git at git.openembedded.org
git at git.openembedded.org
Tue Nov 7 13:33:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository bitbake.
commit 286dce008d6e0bd3121393b28ca02de1385519fb
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Oct 10 17:26:30 2017 +0100
bitbake: be more explicit when warning about locale choice
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
bin/bitbake | 2 +-
bin/bitbake-worker | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/bin/bitbake b/bin/bitbake
index 431bb4b..95e4109 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -36,7 +36,7 @@ from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
- sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
+ sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
__version__ = "1.37.0"
diff --git a/bin/bitbake-worker b/bin/bitbake-worker
index ee2d622..e925054 100755
--- a/bin/bitbake-worker
+++ b/bin/bitbake-worker
@@ -17,7 +17,7 @@ from multiprocessing import Lock
from threading import Thread
if sys.getfilesystemencoding() != "utf-8":
- sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
+ sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
@@ -499,4 +499,3 @@ worker_thread.join()
workerlog_write("exitting")
sys.exit(0)
-
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list