Add locale related environment varibale because language is not set to one specified...
authorSoonKyu Park <sk7.park@samsung.com>
Wed, 23 May 2018 02:27:24 +0000 (11:27 +0900)
committerXiao Jin <jin.xiao@samsung.com>
Fri, 3 Aug 2018 07:23:04 +0000 (15:23 +0800)
Change-Id: I8ce8930455af4ae0c6f3482e9c12a74194da02f8

mic/bootstrap.py

index b51b79a..c3e8471 100644 (file)
@@ -302,6 +302,11 @@ class Bootstrap(object):
 
         env = os.environ
         env['PATH'] = "%s:%s" % (PATH_BOOTSTRAP, env['PATH'])
+        cropts = configmgr.create
+        if cropts["ks"]:
+            lang = cropts["ks"].handler.lang.lang
+            env['LANG'] = lang
+            env['LC_ALL'] = lang
 
         retcode = 0
         gloablmounts = None