Public Access
Updates: check Gitea for new releases and install them #6
Notifications
Due Date
No due date set.
Depends on
#5 CI: build, sign and publish firmware releases on Gitea
twisla/roro9stack
Reference: twisla/roro9stack#6
Reference in New Issue
Block a user
Idea
The device checks the project's latest Gitea release, says when a newer version is out, and installs it on request. It uses the same signed Update Files and the same Probation and rollback as Wi-Fi and SD updates.
Why
This is the end of the OTA story: no computer needed at all.
What's known
It's blocked by #5: there are no releases to check yet.
GET /repos/twisla/roro9stack/releases/latestgives the tag and the asset URLs. Compare that with the running version and the version in the other slot.The download is about 1.7 MB over HTTPS. Two options:
/updates/on the card, then install it with the existing Update from SD path.Either way, the signature is checked before anything boots it.
The TLS root of trust is the same as in #4. That part should be built once and shared.
A Debug Build should be offered the
+debugimage, and a release build the release image.Questions for the design round
No longer blocked: #5 is done. Every tag has a Gitea release with a signed
roro9stack-<version>.ota, andGET /repos/twisla/roro9stack/releases/latestanswers. Ready for its design round.