On Thu, 2022-12-01 at 02:47 +0000, Yu, Mingli wrote:
> Hi,
> 
> There comes below error when run yocto compliance against
> openembedded-core layer.  Any hints?
> 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

I checked and whilst we do check meta-yocto-bsp, meta-poky and other
things here:

https://autobuilder.yoctoproject.org/typhoon/#/builders/39/builds/6320

and we have another target which checks a variety of other layers, it
does look like we don't check OE-Core itself!

We have a bit of a challenge to run tests against the core since
without core, we don't actually have anything to compare it with. Also,
core does have a README for example but it is at a different level to
that from component layers.

I think the best thing to do here is accept the core layer is a bit
special but teach the tests to handle it correctly. I'll send a patch
which sorts this out. We should then add to the autobuilder tests too.

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#174398): 
https://lists.openembedded.org/g/openembedded-core/message/174398
Mute This Topic: https://lists.openembedded.org/mt/95374423/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to