summaryrefslogtreecommitdiff
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:23 +0100
commit42af63f326b03b32019c8b808b7ba07027f209b8 (patch)
treefd38b4576c5041ce8428c686cd70545658db4e95
parent85b6a53386382c0d92b5bea545c2db5e0204e629 (diff)
downloadopenembedded-core-42af63f326b03b32019c8b808b7ba07027f209b8.tar.gz
openembedded-core-42af63f326b03b32019c8b808b7ba07027f209b8.tar.bz2
openembedded-core-42af63f326b03b32019c8b808b7ba07027f209b8.zip
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. 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):
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
except locale.Error:
raise_sanity_error("You system needs to support the en_US.UTF-8 locale.", d)
- locale.setlocale(locale.LC_ALL, "C")
def check_sanity_everybuild(status, d):
import os, stat