[Openembedded-architecture] layer.conf and layerindex change proposal
Mark Hatle
mark.hatle at windriver.com
Wed Jun 8 23:01:44 UTC 2016
On 6/8/16 5:24 PM, Richard Purdie wrote:
> On Wed, 2016-06-08 at 16:15 -0500, Mark Hatle wrote:
>> In addition, many of the layers I work with have a clear set of
>> required layers
>> (LAYERDEPENDS), but also have 'recommended' layers... So I'd love to
>> see a
>> LAYERRECOMMENDS as well.
>
>> For this one, in bitbake, we could add the LAYERRECOMMENDS to the
>> priority
>> sorting code -- but if the layer is not included it's not an error or
>> warning.
>
> I don't understand this. Why would the fact a layer recommends another
> layer change priority sorting code? I don't think the dependency
> variable does that?
In bitbake/lib/bb/cooker.py:
look around line 1148 and 1178.
The existing LAYERDEPENDS does influence the priority in some way. (First chunk
verifies dependencies, second is a function that actually calculates layer
priority based on results of the validation.) I was actually surprised to see
this code, I didn't realize the system did this in any way...
--Mark
> I get the feeling I'm missing something from this proposal...
>
> Cheers,
>
> Richard
>>
More information about the Openembedded-architecture
mailing list