From: SoonKyu Park Date: Wed, 23 May 2018 02:27:24 +0000 (+0900) Subject: Add locale related environment varibale because language is not set to one specified... X-Git-Tag: accepted/tizen/devbase/tools/20200415.093504~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F179844%2F1;p=tools%2Fmic.git Add locale related environment varibale because language is not set to one specified in ks file env['LANG'] = 'language in ks' env['LC_ALL'] = 'language in ks' Change-Id: I8ce8930455af4ae0c6f3482e9c12a74194da02f8 --- diff --git a/mic/bootstrap.py b/mic/bootstrap.py index b51b79a..c3e8471 100644 --- a/mic/bootstrap.py +++ b/mic/bootstrap.py @@ -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