Bug 13989

Summary: BBFILE_PATTERN test fails if all recipes in layer are skipped
Product: [Build System, Metadata & Runtime] BitBake Reporter: Ross Burton <ross.burton>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2020-07-20 09:13:18 UTC
meta-kernel is used by meta-arm for some BSPs.  However, in some configurations every recipe in the layer will be skipped, so the BBFILE_PATTERN test fails:

WARNING: No bb files in default matched BBFILE_PATTERN_meta-kernel '^/home/ross/Yocto/meta-kernel/'

All of the kernels were skipped:
linux-stable was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-stable

And the one other recipe is rpi-specific.

By dumping the contents of pkg_fn it is clear that skipped recipes are removed from that list.