Open maggie44 opened 2 years ago
This isn't resolved, but have had to remove the temporary workaround as it was interfering with hostname updates. It isn't built for the purpose used here, and other conflicts may occur in the future, which means it is better to deal with the interruptions during updates than potential bricking of devices.
At the moment updates are triggered as soon as an internet connection becomes available. Ideally the download would be pulled while online, but the actual update won't happen until the beginning of the next reboot, to prevent disruption.
Added request for such a feature: https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883 https://github.com/balena-os/balena-supervisor/issues/1624
In the meantime, there is an updates lock applied which is overridden on first boot by passing 'force' to the supervisor update endpoint (https://github.com/LearnersBlock/learners-block/commit/5b296c2dde68e02fff62b4dc108af922d18edb07). This can be removed if an install on reboot feature is added upstream.