Integrate chunk-based OTA updates via desync (OnionUI/Onion#1918) - #193
Merged
Conversation
Add desync submodule for content-addressable chunking. Update Makefile with desync build targets, 7z deterministic archive flags, and chunk generation target. Update OTA update script with delta download support via --chunk flag. Update install.sh with promote_initial_seed function. Update tagged-release workflow to build desync and include .caidx artifact. Co-authored-by: Amiga500 <16525337+Amiga500@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Integrate pull request #1918 into the codebase
Integrate chunk-based OTA updates via desync (OnionUI/Onion#1918)
Mar 18, 2026
Amiga500
marked this pull request as ready for review
March 18, 2026 15:20
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ports OnionUI/Onion#1918 into this fork. Adds content-addressable chunking via desync so OTA upgrades only transfer changed chunks between releases instead of full zips.
Build system (
Makefile)desync-bin(ARM cross-compile),desync-host, andchunktargets-ms=off(disable solid mode) for chunk-friendly outputtouch -t 198001010000for reproducible buildsexternaltarget copies desync binary into installer if availableOTA update script
--chunkflag enables delta download path using desync with fallback to full downloaddo_download()always fetches the.caidxindex; uses local seed zip + remote chunk store for delta reconstruction$sysdir/seed/for next deltaInstaller (
install.sh)promote_initial_seed()saves the installation zip as seed during first install, generating a.caidxindex via desync if one wasn't bundledCI (
.github/workflows/tagged-release.yml)make desync-bin release chunk.caidxindex included as release artifactSubmodule
third-party/desyncadded ate58d685523📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.