Skip to content

Commit 4e7646d

Browse files
committed
delay publishing of firmware info
1 parent 42986ec commit 4e7646d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

images/common/utils/set-startup-info

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ set -e
33
TARGET="$(tedge config get mqtt.topic_root)/$(tedge config get mqtt.device_topic_id)"
44

55
# firmware
6+
# TODO: Remove dumb sleep and find out way the firmware is not always published to the cloud
7+
sleep 5
68
tedge mqtt pub -r --qos 1 "$TARGET/twin/firmware" "$(printf '{"name": "iot-linux", "version": "1.0.0"}')"
79

810
# Trigger inventory service on startup

0 commit comments

Comments
 (0)