Merge #403 into sdk602patch0521 from refs/changes/403/head 406/target/1 407/target/1
authorsnickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Fri, 28 Jun 2024 09:31:47 +0000 (09:31 +0000)
committersnickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Fri, 28 Jun 2024 09:31:47 +0000 (09:31 +0000)
Code review from snickersun@163.com

* refs/changes/403/head: (3 commits squashed)

  - 更新modem新固件,添加电信入库新需求,pyVer版本增加到PY_SRV_V10。

  - 修复mkota.sh 添加额外资源文件路径处理错误问题。

  - Merge branch &#39;sdk602patch0521&#39; of codeup.aliyun.com:64191456b9581d62e8f81ac0/FD230 into sdk602patch0521

Signed-off-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Reviewed-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Merged-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/403
cat1modem/EG810MCNLAR06A01M08_VOLTE_OCPU_QPY_BETA0312_20240628-1718.zip [new file with mode: 0644]
code/sdk/drivers/peripheral/slip/cat1Service/pyscript/cat1Service.py
code/sdk/drivers/peripheral/slip/cat1Service/pyscript/current_img/EG810MCNLAR06A01M08_VOLTE_OCPU_QPY_BETA0312_20240614-1855.zip [moved from cat1modem/EG810MCNLAR06A01M08_VOLTE_OCPU_QPY_BETA0312_20240614-1855.zip with 100% similarity]
mkota.sh

diff --git a/cat1modem/EG810MCNLAR06A01M08_VOLTE_OCPU_QPY_BETA0312_20240628-1718.zip b/cat1modem/EG810MCNLAR06A01M08_VOLTE_OCPU_QPY_BETA0312_20240628-1718.zip
new file mode 100644 (file)
index 0000000..87f94b8
--- /dev/null
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dccf3700d78bc808651e6732db2e9b3803a187686519067500621f69e9384563
+size 11632487
index 87e4bb6..dab18dc 100644 (file)
@@ -73,7 +73,7 @@ sms.setCallback(msg_cb)#sms注册回调
 CAT1_SERVICE_HEAD = 'FE' #固定head 
 
 PROJECT_NAME = "Cat1SlipUDPService"
-PROJECT_VERSION = "PY_SRV_V9"
+PROJECT_VERSION = "PY_SRV_V10"
 CONFIG_JSON="/usr/system_config.json"
 CURRENT_APP_TYPE="pysrv"
 
index 9e148c8..9ecf96e 100755 (executable)
--- a/mkota.sh
+++ b/mkota.sh
@@ -50,26 +50,20 @@ cp -r $RES_DIR/fs code/sdk/output/brandy/TestOTA/res_file
 fi
 
 if [ -e "$RES_DIR/diff/deletedfiles.txt" ]; then
+echo cp -f $RES_DIR/diff/deletedfiles.txt code/sdk/output/brandy/TestOTA/delfiles
 cp -f $RES_DIR/diff/deletedfiles.txt code/sdk/output/brandy/TestOTA/delfiles
 fi
 
-if [ -d "code/sdk/output/brandy/TestOTA/oldsoftware/additional_fs/fs" ]; then
-cp -rf code/sdk/output/brandy/TestOTA/oldsoftware/additional_fs/fs/* code/sdk/output/brandy/TestOTA/res_file/
-fi
-
 if [ -d "$ADDITIONAL_RES_DIR/fs" ]; then
-cp -rf $ADDITIONAL_RES_DIR/fs/* code/sdk/output/brandy/TestOTA/res_file/
-find $ADDITIONAL_RES_DIR/fs/ --type f |touch
+echo cp -rf $ADDITIONAL_RES_DIR/fs/ code/sdk/output/brandy/TestOTA/res_file/
+cp -rf $ADDITIONAL_RES_DIR/fs/ code/sdk/output/brandy/TestOTA/res_file/
 else
 echo $ADDITIONAL_RES_DIR/fs not exist, you can put additional resource file to there.
 fi
 
-if [ -e "code/sdk/output/brandy/TestOTA/oldsoftware/additional_fs/delfiles" ]; then
-cat code/sdk/output/brandy/TestOTA/oldsoftware/additional_fs/delfiles >> code/sdk/output/brandy/TestOTA/delfiles
-fi
-
 if [ -e "$ADDITIONAL_RES_DIR/delfiles" ]; then
 cat $ADDITIONAL_RES_DIR/delfiles >> code/sdk/output/brandy/TestOTA/delfiles
+else
 echo $ADDITIONAL_RES_DIR/delfiles not exist, you can put filelist to this file , for adding them to del list in fota file.
 fi