balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
966 stars 115 forks source link

update-balena-supervisor: add network-online dependency #3492

Open rcooke-warwick opened 4 weeks ago

rcooke-warwick commented 4 weeks ago

There is a race condition present when purging a device and rebooting. If "update-balena-supervisor" comes up before the device can connect to the internet, it will fail to pull the supervisor image. As this service stops "balena-supervisor.service" , this isn't attempted again for at least 15 min = (up to 1 hour) when the "update-balena-supervisor.timer" triggers it.

Change-type: patch

Currently left in draft, in order to get a build to test with on a device


Contributor checklist

Reviewer Guidelines

github-actions[bot] commented 4 weeks ago

Website deployed to CF Pages, 👀 preview link https://ba238015.balena-os.pages.dev