Bug 13176

Summary: yocto-check-layer can only check layers which aren't already in BBLAYERS
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Barker <paul>
Component: Scripts and ToolsAssignee: akuster <akuster808>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: akuster808, chee.yang.lee, randy.macleod, ross.burton, tim.orling
Version: 2.6.1   
Target Milestone: 3.4.1   
Hardware: x86   
OS: Multiple   
Whiteboard: Backport 3.4 & 3.1
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Paul Barker 2019-02-13 18:23:39 UTC
yocto-check-layer needs to first capture signatures without the layer under test included, then add the layer under test and see what signatures have changed. So for that initial capture to work the layer under test has to be absent from BBLAYERS.

1) yocto-check-layer should fail with an error if the layer under test is already in BBLAYERS.

2) The documentation should explain this requirement.
Comment 1 Tim Orling 2020-07-30 07:44:11 UTC
Merged to master in http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4cbea1019781e9595655448347a38dae1db5ee29

Still need Backport to 3.1,  3.0 (and 2.7??)
Armin can you take a quick look and update the Whiteboard?