This repository was archived by the owner on Oct 30, 2026. It is now read-only.
Repository navigation
Conversation
stuart902
marked this pull request as draft
October 29, 2026 04:32
stuart902
marked this pull request as ready for review
October 29, 2026 06:32
Contributor
|
Thanks, Stuart. This is careful work, and the on-device testing is much appreciated. We are closing it because the installer is being replaced: installation moves into a single device-side script in the CLI (installer v2), and
Where the idea fits later is updating an installed system in place. Thanks again! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repeated installations of the same image should not require sending the full root archive again. This adds the host-side support for root-image caching.
The CLI asks recovery whether a verified copy of the selected image is already on the device. On a cache hit, it requests local extraction and displays its progress. Otherwise, it transfers the image in full and asks recovery to retain a copy for the next install.
The cache itself is implemented separately in the hardware runtime. This PR adds the CLI negotiation and progress display, while preserving installation support for older recovery images.
Changes
Changed images still receive a full transfer. Installation failures are not retried automatically.
Compatibility
Caching requires matching device-side support. Older recovery images continue to use the existing streaming path.
Testing