Skip to content

Conversation

lzrd
Copy link
Contributor

@lzrd lzrd commented Sep 3, 2025

Allow cancellation of RoT pending boot preferences.
Make setting a pending boot preference in conflict with an existing pending preference an error.
These operations are useful for recovery from a failed or aborted update without incurring a reset and subsequent unwanted execution of an image.
Also useful in testing update mechanisms.

@lzrd lzrd requested review from jgallagher and labbott September 4, 2025 20:38
This message can be used in favor of resetting the RoT when recovering
from a failed or abandoned update.

A RoT transient or persistent Hubris activation has a pending phase
that is resolved on next boot.

Clearing the pending activation allows a new update flow to proceed
without resetting the RoT, or with a reset, allows the update flow to
proceed without switching to a different image (assuming a properly
signed alternate image).
@lzrd lzrd force-pushed the stoltz/component-cancel-pending-active-slot branch from ef7ce28 to 50a438a Compare September 22, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant