diff options
author | SoonKyu Park <sk7.park@samsung.com> | 2018-05-23 11:27:24 +0900 |
---|---|---|
committer | Xiao Jin <jin.xiao@samsung.com> | 2018-08-03 15:23:04 +0800 |
commit | 86255c637f931e0a70f20c43957164eb20920ea5 (patch) | |
tree | 2e2e5f089dab2749e6615f046814c43224ce9bf4 | |
parent | 4b930828079e7afa588652bdba2cc3d6bda1234a (diff) | |
download | mic-86255c637f931e0a70f20c43957164eb20920ea5.tar.gz mic-86255c637f931e0a70f20c43957164eb20920ea5.tar.bz2 mic-86255c637f931e0a70f20c43957164eb20920ea5.zip |
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
-rw-r--r-- | mic/bootstrap.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |