[oe-commits] [openembedded-core] branch master updated: sanity: Drop setting C locale

git at git.openembedded.org git at git.openembedded.org
Wed Jun 1 14:07:09 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
       new  42af63f   sanity: Drop setting C locale
42af63f is described below

commit 42af63f326b03b32019c8b808b7ba07027f209b8
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Jun 1 15:03:58 2016 +0100

    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 at linuxfoundation.org>
---
 meta/classes/sanity.bbclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 3d5ace2..a392bc2 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list