Compare commits
2 Commits
6bf95ba131
...
ba1f70fec4
Author | SHA1 | Date | |
---|---|---|---|
ba1f70fec4 | |||
dc6226bbb7 |
@ -376,8 +376,6 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
|||||||
local func="${FUNCNAME[0]}"
|
local func="${FUNCNAME[0]}"
|
||||||
local p=("$@")
|
local p=("$@")
|
||||||
|
|
||||||
return 0
|
|
||||||
|
|
||||||
local data="#M=APISM#C=CMD_SENDVERSION#J=
|
local data="#M=APISM#C=CMD_SENDVERSION#J=
|
||||||
{
|
{
|
||||||
\"VERSION_INFO\" : {
|
\"VERSION_INFO\" : {
|
||||||
@ -414,11 +412,11 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
|||||||
\"RAUC\" : \"$(rauc --version)\",
|
\"RAUC\" : \"$(rauc --version)\",
|
||||||
\"OPKG\" : \"$(opkg --version)\",
|
\"OPKG\" : \"$(opkg --version)\",
|
||||||
\"ATBQT\" : {
|
\"ATBQT\" : {
|
||||||
\"VERSION\" : \"$($ATBQT_SYS_FULL -v |
|
\"VERSION\" : \"$($ATBQT_ATB_SYS_BIN_FILE -v |
|
||||||
grep Version |
|
grep Version |
|
||||||
sed -E -e 's/.*:\s*(.*)/\1/g')\",
|
sed -E -e 's/.*:\s*(.*)/\1/g')\",
|
||||||
\"GIT_DESCRIBE\" : \"$($ATBQT_SYS_FULL -v |
|
\"GIT_DESCRIBE\" : \"$($ATBQT_ATB_SYS_BIN_FILE -v |
|
||||||
grep git |
|
grep git |
|
||||||
sed -E -e 's/.*:\s*(.*)/\1/g')\"
|
sed -E -e 's/.*:\s*(.*)/\1/g')\"
|
||||||
},
|
},
|
||||||
\"PLUGINS\" : {
|
\"PLUGINS\" : {
|
||||||
|
@ -171,6 +171,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
readonly SYSCONFIG_PSA_DIR=${CUST_BASE_DIR}${SYSCONFIG_SYS_DIR}
|
readonly SYSCONFIG_PSA_DIR=${CUST_BASE_DIR}${SYSCONFIG_SYS_DIR}
|
||||||
readonly ISMASMGR_PSA_DIR=${CUST_BASE_DIR}${ISMASMGR_SYS_DIR}
|
readonly ISMASMGR_PSA_DIR=${CUST_BASE_DIR}${ISMASMGR_SYS_DIR}
|
||||||
|
|
||||||
|
readonly ATBQT_BIN="ATBQT"
|
||||||
readonly ATBQT_INI="ATBQT.ini"
|
readonly ATBQT_INI="ATBQT.ini"
|
||||||
readonly ISMASMGR_INI="ISMASMgr.ini"
|
readonly ISMASMGR_INI="ISMASMgr.ini"
|
||||||
readonly SYSCONF_INI="sysconfig.ini"
|
readonly SYSCONF_INI="sysconfig.ini"
|
||||||
@ -179,6 +180,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
readonly DC="dc2c.hex"
|
readonly DC="dc2c.hex"
|
||||||
|
|
||||||
readonly DC_SYS_DC_FILE="${DC_SYS_DIR}/$DC"
|
readonly DC_SYS_DC_FILE="${DC_SYS_DIR}/$DC"
|
||||||
|
readonly ATBQT_ATB_SYS_BIN_FILE="${ATBAPP_SYS_DIR}/$ATBQT_BIN"
|
||||||
readonly ATBQT_ATB_SYS_INI_FILE="${ATB_SYS_DIR}/$ATBQT_INI"
|
readonly ATBQT_ATB_SYS_INI_FILE="${ATB_SYS_DIR}/$ATBQT_INI"
|
||||||
readonly ATBQT_APP_SYS_INI_FILE="${ATBAPP_SYS_DIR}/$ATBQT_INI"
|
readonly ATBQT_APP_SYS_INI_FILE="${ATBAPP_SYS_DIR}/$ATBQT_INI"
|
||||||
readonly ATBQT_ETC_SYS_INI_FILE="${ETC_SYS_DIR}/$ATBQT_INI"
|
readonly ATBQT_ETC_SYS_INI_FILE="${ETC_SYS_DIR}/$ATBQT_INI"
|
||||||
@ -201,6 +203,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
readonly DC2C_SYS_CONF_JSON="${CONF_SYS_DIR}/DC2C_conf.json"
|
readonly DC2C_SYS_CONF_JSON="${CONF_SYS_DIR}/DC2C_conf.json"
|
||||||
readonly DC_PSA_DC_FILE="${DC_PSA_DIR}/$DC"
|
readonly DC_PSA_DC_FILE="${DC_PSA_DIR}/$DC"
|
||||||
|
|
||||||
|
readonly ATBQT_ATB_PSA_BIN_FILE="${ATBAPP_PSA_DIR}/$ATBQT_BIN"
|
||||||
readonly ATBQT_ATB_PSA_INI_FILE="${ATB_SYS_DIR}/$ATBQT_INI"
|
readonly ATBQT_ATB_PSA_INI_FILE="${ATB_SYS_DIR}/$ATBQT_INI"
|
||||||
readonly ATBQT_APP_PSA_INI_FILE="${ATBAPP_SYS_DIR}/$ATBQT_INI"
|
readonly ATBQT_APP_PSA_INI_FILE="${ATBAPP_SYS_DIR}/$ATBQT_INI"
|
||||||
readonly ATBQT_ETC_PSA_INI_FILE="${ETC_SYS_DIR}/$ATBQT_INI"
|
readonly ATBQT_ETC_PSA_INI_FILE="${ETC_SYS_DIR}/$ATBQT_INI"
|
||||||
@ -248,6 +251,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
assert_f DC_SYS_DC_FILE
|
assert_f DC_SYS_DC_FILE
|
||||||
assert_f ZONE_FILE
|
assert_f ZONE_FILE
|
||||||
assert_f CUST_ID_FILE
|
assert_f CUST_ID_FILE
|
||||||
|
assert_f ATBQT_ATB_SYS_BIN_FILE
|
||||||
assert_f ATBQT_ATB_SYS_INI_FILE
|
assert_f ATBQT_ATB_SYS_INI_FILE
|
||||||
assert_f ATBQT_APP_SYS_INI_FILE
|
assert_f ATBQT_APP_SYS_INI_FILE
|
||||||
assert_f ATBQT_ETC_SYS_INI_FILE
|
assert_f ATBQT_ETC_SYS_INI_FILE
|
||||||
@ -268,6 +272,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
assert_f DC2C_SYS_CASH_JSON
|
assert_f DC2C_SYS_CASH_JSON
|
||||||
|
|
||||||
assert_f DC_PSA_DC_FILE
|
assert_f DC_PSA_DC_FILE
|
||||||
|
# assert_f ATBQT_ATB_PSA_BIN_FILE
|
||||||
assert_f ATBQT_ATB_PSA_INI_FILE
|
assert_f ATBQT_ATB_PSA_INI_FILE
|
||||||
assert_f ATBQT_APP_PSA_INI_FILE
|
assert_f ATBQT_APP_PSA_INI_FILE
|
||||||
assert_f ATBQT_ETC_PSA_INI_FILE
|
assert_f ATBQT_ETC_PSA_INI_FILE
|
||||||
@ -281,7 +286,6 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
assert_f SYSCTRL_ETC_PSA_INI_FILE
|
assert_f SYSCTRL_ETC_PSA_INI_FILE
|
||||||
assert_f SYSCTRL_ATB_PSA_INI_FILE
|
assert_f SYSCTRL_ATB_PSA_INI_FILE
|
||||||
assert_f SYSCTRL_SCF_PSA_INI_FILE
|
assert_f SYSCTRL_SCF_PSA_INI_FILE
|
||||||
assert_f ATB_PSA_INI_FILE
|
|
||||||
assert_f TC_PSA_TC_FILE
|
assert_f TC_PSA_TC_FILE
|
||||||
assert_f PSA_UPDATE_CONF
|
assert_f PSA_UPDATE_CONF
|
||||||
assert_f OPKG_CMDS_PSA_FILE
|
assert_f OPKG_CMDS_PSA_FILE
|
||||||
|
Loading…
Reference in New Issue
Block a user