Removed usage of obsolete variable TC_PSA_TC_FILE (=tariff.current) and

ATBQT_ATB_SYS_BIN_FILE.
For ATBQT_ATB_SYS_BIN_FILE use /opt/app/ATBAPP/ATBQT directly.
This commit is contained in:
Gerhard Hoffmann 2023-06-29 13:30:37 +02:00
parent 0e7f5938c7
commit a957894d9a

View File

@ -396,7 +396,6 @@ if [ "${news_to_ismas_sourced:-1}" = "1" ]; then # include only once
\"HASH\":\"$(compute_hash)\" \"HASH\":\"$(compute_hash)\"
}, },
\"TARIFF\" : { \"TARIFF\" : {
$(<$TC_PSA_TC_FILE)
}, },
\"HARDWARE\" : { \"HARDWARE\" : {
\"DEVICES\" : [ \"DEVICES\" : [
@ -425,10 +424,10 @@ 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_ATB_SYS_BIN_FILE -v | \"VERSION\" : \"$(/opt/app/ATBAPP/ATBQT -v |
grep Version | grep Version |
sed -E -e 's/.*:\s*(.*)/\1/g')\", sed -E -e 's/.*:\s*(.*)/\1/g')\",
\"GIT_DESCRIBE\" : \"$($ATBQT_ATB_SYS_BIN_FILE -v | \"GIT_DESCRIBE\" : \"$(/opt/app/ATBAPP/ATBQT -v |
grep git | grep git |
sed -E -e 's/.*:\s*(.*)/\1/g')\" sed -E -e 's/.*:\s*(.*)/\1/g')\"
}, },