Repository navigation
conf/layer.conf: Skip the Rust backport when the LTS Rust mixin is used - #133
Merged
otavio merged 1 commit intoOct 21, 2026
Conversation
The meta-lts-mixins kirkstone/rust layer provides a newer Rust (1.92)
and masks the OE-Core rust and cargo recipes. With it in the build, the
Rust 1.65 backport carried here conflicts with it, and the
cargo-cross-canadian bbappend has no recipe left to apply to:
ERROR: No recipes in default available for:
.../recipes-devtools/cargo/cargo-cross-canadian_%.bbappend
Move the backported rust, cargo and librsvg recipes to
dynamic-layers/no-lts-rust-mixin and include them only when the
lts-rust-mixin collection is absent, so builds without the mixin are
unchanged. Make the cargo requires relative to the recipe, as a
BBPATH-relative path would now resolve to the OE-Core files.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
This was referenced Oct 22, 2026
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.
The
kirkstone/rustbranch of meta-lts-mixins provides Rust 1.92 and masks the OE-Core rust and cargo recipes. With it in the build, the Rust 1.65 backport in this layer conflicts with it, and parsing fails:This is needed for updatehub 2.2.1 and later, which require Rust 1.88 (UpdateHub/meta-updatehub kirkstone backport).
Changes
dynamic-layers/no-lts-rust-mixin/.BBFILES_DYNAMICwith a!lts-rust-mixin:prefix, so they're used only when the mixin is absent. Builds without the mixin are unchanged.require recipes-devtools/rust/...lines incargo_1.65.0.bbrelative to the recipe. After the move, the BBPATH lookup would otherwise resolve to the OE-Core 1.59 files.The Rust classes and
RUSTVERSION ?= "1.65%"inoel.incstay as they are. When the mixin is present, its classes come first in BBPATH and itslayer.confsetsRUSTVERSIONfirst.Testing
Not build-tested yet. Please check that the layer parses both with and without meta-lts-mixins before merging.