Skip to content

Commit

Permalink
delay publishing of firmware info
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Dec 17, 2024
1 parent 42986ec commit 4e7646d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/common/utils/set-startup-info
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -e
TARGET="$(tedge config get mqtt.topic_root)/$(tedge config get mqtt.device_topic_id)"

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

# Trigger inventory service on startup
Expand Down

0 comments on commit 4e7646d

Please sign in to comment.