Repository navigation
[Backport scarthgap] updatehub: 2.1.6 -> 2.3.0 - #140
Merged
otavio merged 4 commits intoOct 22, 2026
Merged
Conversation
UpdateHub 2.2.1 and later require Rust 1.88 (edition 2024), but OpenEmbedded-Core scarthgap ships an older Rust. The scarthgap/rust branch of meta-lts-mixins provides Rust 1.98.1, so add its collection to LAYERDEPENDS and document it in the README. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> (cherry picked from commit 74a08ad)
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 029a052)
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> (cherry picked from commit 6d70299)
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.
Backport of #135 and #137 to
scarthgap, bringing updatehub from 2.1.6 to 2.3.0.Rust requirement
updatehub 2.2.1 and later require Rust 1.88 (edition 2024). OpenEmbedded-Core
scarthgapships Rust 1.75, so the first commit adds thescarthgap/rustbranch of meta-lts-mixins (Rust 1.98.1, collectionscarthgap-rust-mixin) toLAYERDEPENDSand documents it in the README. Builds using this branch must add that layer.Commits
conf/layer.conf: Depend on the meta-lts-mixins Rust layer(new)updatehub: 2.1.6 -> 2.2.1: cherry-pick of 74a08adupdatehub: 2.2.1 -> 2.3.0: cherry-pick of 029a052updatehub: Fix the PACKAGECONFIG parameter to backward-compatibility: cherry-pick of 6d70299For 2 and 3,
updatehub-crates.incapplied unchanged and is byte-identical to master's. The recipe rename conflicted only on context, so this branch keeps its own recipe body (includingS = "${WORKDIR}/git") and the only delta isSRCREV.Commit 4 is needed because the mixin's
cargo.bbclasspassesPACKAGECONFIG_CONFARGSdirectly tocargo build. Without it, the barev1-parsingbecomes a stray argument anddo_compilefails.Notes
Testing
Built
updatehub-image-baseforraspberrypi3-64onscarthgapwith meta-lts-mixinsscarthgap/rust, flashed it, then generated a.uhupkgwithbitbake updatehub-image-base -c uhuarchiveafter changingUPDATEHUB_PACKAGE_VERSION_SUFFIX. The update was applied on the device andVERSION_IDin/etc/os-releaseshowed the new version.The board support came from meta-updatehub-raspberrypi
master, with local changes to build onscarthgap:scarthgapadded toLAYERSERIES_COMPAT, the:append:updatehub-rpioverride syntax fixed in its bbappends, andCONFIG_SYS_MAXARGSmoved to the u-boot config fragment. Those changes are not part of this PR.