Bug 15724 - Missing doc on classes, classes-recipe and classes-global parsing order
Summary: Missing doc on classes, classes-recipe and classes-global parsing order
Status: RESOLVED FIXED
Alias: None
Product: BitBake User Manual
Classification: Documentation
Component: bitbake-manual (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.3 M4
Assignee: Antonin Godard
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-01-22 08:03 UTC by Antonin Godard
Modified: 2025-09-25 08:32 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 Antonin Godard 2025-01-22 08:03:42 UTC
The discussion on https://lists.yoctoproject.org/g/yocto-patches/topic/110717737 pointed out that the BitBake documentation is lacking details on the parsing order between classes, classes-recipe and classes-global. This leads to unexpected behavior when overlaying classes from another layer.

Add details about the parsing order and caveats.
Comment 1 Antonin Godard 2025-04-17 15:15:26 UTC
Moved to 5.3M1 after decision in triage meeting. Re-assigned to myself.
Comment 2 Antonin Godard 2025-09-25 08:32:50 UTC
Hello,

I've added docs to clarify this bug:
https://git.openembedded.org/bitbake/commit/?id=7bd36f6c6d33211bb2a6b6fc6d40bdbd83b8b7c3

I'm closing this bug as it answers the questions raised here. Namely the parsing order between classes-recipe, classes-global and classes.

Antonin