[Bugfix][T108][bug-view-1877]Fix the issue of no oemdata file
Only Configure: No
Affected branch: GSW_V1453
Affected module: system
Is it affected on IC: only ASR
Self-test: yes
Doc Update: no
Change-Id: I4743b4d05f194edfaf0a40a03a0d4b4222becff8
diff --git a/pack.sh b/pack.sh
index f284470..f8d4f92 100755
--- a/pack.sh
+++ b/pack.sh
@@ -365,6 +365,9 @@
if [ "$SEC_SUPPORT" == "N" ];then
sed -i 's/Number_of_Images = 15/Number_of_Images = 14/g' ../$MBTK_M1901_VERSION_DIR/"$BUILD_TARGAT"_"$BUILD_FLAG"_QSPINAND_Trusted_SDTIM_LPDDR2_OTA_BLF
sed -i 's/23_Image_Enable = 0/23_Image_Enable = 1/g' ../$MBTK_M1901_VERSION_DIR/"$BUILD_TARGAT"_"$BUILD_FLAG"_QSPINAND_Trusted_SDTIM_LPDDR2_AB_MBTK.blf
+ else
+ sed -i 's/Number_of_Images = 16/Number_of_Images = 15/g' ../$MBTK_M1901_VERSION_DIR/"$BUILD_TARGAT"_"$BUILD_FLAG"_QSPINAND_Trusted_SDTIM_LPDDR2_OTA_BLF
+ sed -i 's/25_Image_Enable = 0/25_Image_Enable = 1/g' ../$MBTK_M1901_VERSION_DIR/"$BUILD_TARGAT"_"$BUILD_FLAG"_QSPINAND_Trusted_SDTIM_LPDDR2_AB_MBTK.blf
fi
zip -q -r $MBTK_M1901_VERSION.zip $MBTK_M1901_VERSION
cd $CUR_PWD