gluon-packages/admin/autoupdater
David Bauer 27f9ec75b2 autoupdater: execute sysupgrade test before network shutdown
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>
2021-08-18 23:59:56 +02:00
..
files autoupdater: new implementation 2018-01-13 00:22:27 +01:00
src autoupdater: execute sysupgrade test before network shutdown 2021-08-18 23:59:56 +02:00
Makefile treewide: remove redundant definitions from package Makefiles 2018-03-07 20:51:48 +01:00
README.md autoupdater: remove outdated list of hardware (#145) 2016-08-13 15:39:16 +02:00
manifest.sample autoupdater: new implementation 2018-01-13 00:22:27 +01:00

README.md