gluon-packages/admin
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
..
autoupdater autoupdater: execute sysupgrade test before network shutdown 2021-08-18 23:59:56 +02:00
pretty-hostname pretty-hostname: do not use module() 2019-06-16 12:45:29 +02:00