From 62b6bc483daa4695862a770ca31fafa79637729b Mon Sep 17 00:00:00 2001 From: wchang kim Date: Tue, 19 Dec 2017 10:26:53 +0900 Subject: [PATCH] Adding to change locale infomation of ks file. Change-Id: I228940841ff7c3fe5ec1844baba12462299a1a42 --- support/scripts/make_image.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/support/scripts/make_image.sh b/support/scripts/make_image.sh index dfe72fe..1119f9a 100755 --- a/support/scripts/make_image.sh +++ b/support/scripts/make_image.sh @@ -141,6 +141,13 @@ echo "Adding Custom repositories..." sed -i "/repo --name=base_arm/a $ADD_REPO_LIST" $3 fi +#### Changing locale #### +LANG_EN=`grep building-blocks-root-Preset_iot_headed $IMG_LIST` + +if [ $? = 0 ] +then + sed -i 's/lang C/lang en_US.UTF-8/g' $3 +fi } ########## function : downlading & update partition ########## -- 2.34.1