Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoupdater: execute sysupgrade test before network shutdown #248

Closed
wants to merge 1 commit into from

Commits on Aug 18, 2021

  1. 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>
    blocktrron committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    27f9ec7 View commit details
    Browse the repository at this point in the history