Bug 14061 - COMPATIBLE_MACHINE or COMPATIBLE_HOST but against LAYERSERIES_CORENAMES
Summary: COMPATIBLE_MACHINE or COMPATIBLE_HOST but against LAYERSERIES_CORENAMES
Status: RESOLVED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: All Multiple
: Undecided enhancement
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-09-24 01:32 UTC by jonathan.yong
Modified: 2020-09-24 10:21 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan.yong 2020-09-24 01:32:23 UTC
Rationale: Allow the same meta layer to be compatible with multiple Yocto versions, with duplicate recipes skipped when versions from newer Yocto is available or blacklist recipes that require newer Yocto versions.

Putting the yocto version string into OVERRIDES would be a welcome addition too.
Comment 1 Richard Purdie 2020-09-24 10:21:05 UTC
I can see why this would seem like an attractive idea. Unfortunately this is not a behaviour we want to encourage though. We need to make it clear which versions of core are compatible with which layers. If we supported something like this, it would imply that may different branches could all be intermixed and expected to work and we'd end up in a mess. Its a sad fact that users already struggle with layer quality, intermixing things that work out as untested and incompatible.

Also consider that newer versions deprecate and remove functionality (like file:// url globbing) or will rename variables for the inclusive language changes we have that are coming up. As such whilst technically possible, we probably should go in this direction.