Skip to content
Commit 4d73cd39 authored by Adrien Maillard's avatar Adrien Maillard Committed by Daniel DeGrasse
Browse files

updatehub: report error before rollback on unconfirmed image



Report the error state to the UpdateHub server before triggering a rollback
in autohandler mode. This prevents the server from redeploying the same
(failed) update after rollback, avoiding update loops. Also exposes a new
public syscall: updatehub_report_error(), allowing manual mode users to
report an error explicitly.

Signed-off-by: default avatarAdrien Maillard <adrien.maillard@edu.hefr.ch>
parent d5a9a0fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment