summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-01 15:03:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-01 15:05:47 +0100
commit3c42280b8a5cac184311a59589849fec4e215a14 (patch)
tree23355a7f208fcb0e0f68bfca0c3a1019ba7e1fbb
parentab75075e7941c8c2ec429c180976702cd311c978 (diff)
downloadpoky-3c42280b8a5cac184311a59589849fec4e215a14.tar.gz
sanity: Drop setting C locale
We really want the en_US locale as per the configuration and previous patches. Don't set it back to C as things will break under python3. (From OE-Core rev: 42af63f326b03b32019c8b808b7ba07027f209b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sanity.bbclass1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 3d5ace20a7..a392bc29d1 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -774,7 +774,6 @@ def sanity_check_locale(d):
774 locale.setlocale(locale.LC_ALL, "en_US.UTF-8") 774 locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
775 except locale.Error: 775 except locale.Error:
776 raise_sanity_error("You system needs to support the en_US.UTF-8 locale.", d) 776 raise_sanity_error("You system needs to support the en_US.UTF-8 locale.", d)
777 locale.setlocale(locale.LC_ALL, "C")
778 777
779def check_sanity_everybuild(status, d): 778def check_sanity_everybuild(status, d):
780 import os, stat 779 import os, stat