Adding to change locale infomation of ks file. 61/164361/1
authorwchang kim <wchang.kim@samsung.com>
Tue, 19 Dec 2017 01:26:53 +0000 (10:26 +0900)
committerwchang kim <wchang.kim@samsung.com>
Tue, 19 Dec 2017 01:26:53 +0000 (10:26 +0900)
Change-Id: I228940841ff7c3fe5ec1844baba12462299a1a42

support/scripts/make_image.sh

index dfe72fe7b23d224956a0fc6f8a86a7f421dd51c9..1119f9a5c7686a725adab3dfb60ded0b6ce2331b 100755 (executable)
@@ -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 ##########