[bitbake-devel] [PATCH 1/1] bitbake: cookerdata: Check duplicated BBFILE_COLLECTIONS

Mark Hatle mark.hatle at windriver.com
Tue Feb 5 16:43:49 UTC 2019


On 2/5/19 9:14 AM, Richard Purdie wrote:
> On Fri, 2019-01-25 at 15:09 +0800, Robert Yang wrote:
>> It shouldn't work when there are duplicated BBFILE_COLLECTIONS.
>>
>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>> ---
>>  bitbake/lib/bb/cookerdata.py | 4 ++++
>>  1 file changed, 4 insertions(+)
> 
> This caused a load of failures on yocto-check-layer:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/39/builds/259
> 
> We may need to fix that behaviour of that script?
> 
> Not sure if this is highlighting a bug or not...

I think it is highlighting a bug in the yocto-check-layer.

I've seen instances in the past where something has failed (or been aborted),
and the yocto-check-layer didn't cleanup after itself.

Due to this, we had various configuration files load multiple times (since the
layer was loaded multiple times) which caused problems throughout the system.

The yocto-check-layer needs to somehow verify that it's not added the same layer
multiple times.

--Mark

> Cheers,
> 
> Richard
> 



More information about the bitbake-devel mailing list