Bug 14981

Summary: Fail to check the yocto compliance for openembedded-core layer
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mingli Yu <mingli.yu>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 4.1.4   
Target Milestone: 4.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mingli Yu 2022-12-06 06:27:16 UTC
There comes below error when run yocto compliance against openembedded-core layer.

1, mkdir -p /yocto
2, cd /yocto && git clone git://git.yoctoproject.org/poky
3, cd /yocto/poky && . oe-init-build-env build
4, yocto-check-layer-wrapper ../meta
[snip]
INFO: Detected layers:
ERROR: meta: Can't be DISTRO and BSP type at the same time. Both conf/distro and conf/machine folders were found.
5, ls ../meta
classes         COPYING.MIT  recipes-connectivity  recipes-gnome       recipes-rt       site
classes-global  files        recipes-core          recipes-graphics    recipes-sato
classes-recipe  lib          recipes-devtools      recipes-kernel      recipes-support
conf            recipes-bsp  recipes-extended      recipes-multimedia  recipes.txt
Comment 1 Randy MacLeod 2022-12-08 15:46:27 UTC
Patch on the list.