Skip to content

[Backport kirkstone] updatehub: 2.1.6 -> 2.3.0 - #139

Merged
otavio merged 4 commits into
UpdateHub:kirkstonefrom
lucianogdittgen:backport-135-137-to-kirkstone
Oct 22, 2026
Merged

otavio merged 4 commits into
UpdateHub:kirkstonefrom
lucianogdittgen:backport-135-137-to-kirkstone

Conversation

@lucianogdittgen

Copy link
Copy Markdown
Contributor

Backport of #135 and #137 to kirkstone, 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 kirkstone ships Rust 1.59, so the first commit adds the kirkstone/rust branch of meta-lts-mixins (Rust 1.92, collection lts-rust-mixin) to LAYERDEPENDS and documents it in the README. Builds using this branch must add that layer.

Commits

  1. conf/layer.conf: Depend on the meta-lts-mixins Rust layer (new)
  2. updatehub: 2.1.6 -> 2.2.1: cherry-pick of 74a08ad
  3. updatehub: 2.2.1 -> 2.3.0: cherry-pick of 029a052
  4. updatehub: Fix the PACKAGECONFIG parameter to backward-compatibility: cherry-pick of 6d70299

For 2 and 3, updatehub-crates.inc applied unchanged and is byte-identical to master's. The recipe rename conflicted only on context, so this branch keeps its own recipe body (including S = "${WORKDIR}/git") and the only delta is SRCREV.

Commit 4 is needed because the mixin's cargo.bbclass passes PACKAGECONFIG_CONFARGS directly to cargo build. Without it, the bare v1-parsing becomes a stray argument and do_compile fails.

Notes

Testing

Built <image> for <machine> on kirkstone with meta-lts-mixins kirkstone/rust, flashed it, then generated a .uhupkg with bitbake <image> -c uhuarchive after changing UPDATEHUB_PACKAGE_VERSION_SUFFIX. The update was applied on the device and VERSION_ID in /etc/os-release showed the new version.

lucianogdittgen and others added 4 commits October 21, 2026 14:34
UpdateHub 2.2.1 and later require Rust 1.88 (edition 2024), but
OpenEmbedded-Core kirkstone ships an older Rust. The kirkstone/rust
branch of meta-lts-mixins provides Rust 1.92, 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)
@otavio
otavio merged commit a9d0428 into UpdateHub:kirkstone Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants