Add locale related environment varibale because language is not set to one specified... 44/179844/1
authorSoonKyu Park <sk7.park@samsung.com>
Wed, 23 May 2018 02:27:24 +0000 (11:27 +0900)
committerSoonKyu Park <sk7.park@samsung.com>
Wed, 23 May 2018 02:27:24 +0000 (11:27 +0900)
env['LANG'] = 'language in ks'
env['LC_ALL'] = 'language in ks'

Change-Id: I8ce8930455af4ae0c6f3482e9c12a74194da02f8

mic/bootstrap.py

index b51b79a061ab159c6558315f16b011dfcf2327fa..c3e847187a102d5426af503ae51640bdba0da7a2 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