27f9ec75b2
Currently the autoupdater stops network prior starting the sysupgrade process. This has the issue of leaving the device in a state with stopped network in case the sysupgrade process fails, as execl does not spawn a subprocess but instead replaces the current process with another one, in our case the sysupgrade process. This commit modifies the autoupdater behavior in a way it starts sysupgrade in test mode prior stopping network. This way, common causes for failing the sysupgrade process can be detected in a remote-recoverable manner, most prominently a failed platform check / incompatible images. Signed-off-by: David Bauer <mail@david-bauer.net> |
||
---|---|---|
admin | ||
libs | ||
net | ||
utils | ||
.gitignore |