All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] How to run yocto compliance against openembedded-core layer
@ 2022-12-01  2:47 Yu, Mingli
  2022-12-08 11:46 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Yu, Mingli @ 2022-12-01  2:47 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

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

Thanks,

[-- Attachment #2: Type: text/html, Size: 4198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [OE-core] [RFC] How to run yocto compliance against openembedded-core layer
  2022-12-01  2:47 [RFC] How to run yocto compliance against openembedded-core layer Yu, Mingli
@ 2022-12-08 11:46 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2022-12-08 11:46 UTC (permalink / raw)
  To: Yu, Mingli, openembedded-core

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-08 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-01  2:47 [RFC] How to run yocto compliance against openembedded-core layer Yu, Mingli
2022-12-08 11:46 ` [OE-core] " Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.