Bug 9753 - Document automatic layer priority calculation
Summary: Document automatic layer priority calculation
Status: ACCEPTED
Alias: None
Product: BitBake User Manual
Classification: Documentation
Component: bitbake-manual (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 6.2 M4
Assignee: Antonin Godard
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-10 01:44 UTC by Paul Eggleton
Modified: 2026-10-23 08:13 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 Paul Eggleton 2016-06-10 01:44:02 UTC
I had almost completely forgotten but I wrote some code a long time ago to set BBFILE_PRIORITY if it's not explicitly set in layer.conf. This commit added it:

http://git.openembedded.org/bitbake/commit?id=115b89fa279b64e79da0f72caf7b30965a83fab1

There's also a reference to bug 790 that describes the original feature request. We need to ensure the documentation covers this functionality. (I can provide the raw material.)
Comment 1 Scott Rifenbark 2016-06-14 20:34:51 UTC
Right now we have existing descriptions for BBFILE_PRIORITY, LAYERDEPENDS, and LAYERVERSION.  Is the documentation component for this bug just making sure we are saying BBFILE_PRIORITY is set now to some default if it is not explicitly set in the layer.conf file?  Or, is there more to it?

Scott
Comment 2 Paul Eggleton 2016-06-14 20:52:25 UTC
We need to describe what happens when BBFILE_PRIORITY isn't set - i.e. the logic that figures out what the priority should be under those circumstances. I'll need to describe that of course.
Comment 3 Richard Purdie 2016-06-16 14:37:05 UTC
Given its not being used heavily do we need that automatic layer priority code?
Comment 4 Paul Eggleton 2016-06-16 20:38:59 UTC
Well we just had one user tell us that they rely completely upon it. I don't think we can know how widely used it is at this point.
Comment 5 mshah 2021-01-06 05:29:48 UTC
Hi @Paul Eggleton @Richard Purdie,
Is this still required? If Yes, then please provide the raw material, so that I can try to put it in the documentation.

Thanks.
Comment 6 Richard Purdie 2023-01-05 15:57:19 UTC
Should we remove code instead?
Comment 7 Randy MacLeod 2023-10-24 14:24:31 UTC
Bulk move from 4.99 or 0.00 to 5.99
Comment 8 Richard Purdie 2026-03-20 14:07:24 UTC
Not sure if we should document or attempt to remove the automatic priority logic  but assign to Antonin as a docs bug