Syntactic sugar for layerless repos

1 view
Skip to first unread message

Ross Burton

unread,
Sep 9, 2025, 11:23:49 AMSep 9
to kas-devel
Hi,

With it looking very likely that poky will no longer be a unified repository in the future, I've been switching out CI to use bitbake + oe-core.

It's not rocket science but is somewhat verbose and not obvious from the documentation:

  bitbake:
    url: https://git.openembedded.org/bitbake
    layers:
      .: disabled

  core:
    url: https://git.openembedded.org/openembedded-core
    layers:
      meta:

Would there be any interest in some syntactic sugar for "this repo has no layers"?

Thanks,
Ross

Stefano Babic

unread,
Sep 9, 2025, 11:27:52 AMSep 9
to Ross Burton, kas-devel
On 9/9/25 17:23, Ross Burton wrote:
> Hi,
>
> With it looking very likely that poky will no longer be a unified
> repository in the future, I've been switching out CI to use bitbake +
> oe-core.
>
> It's not rocket science but is somewhat verbose and not obvious from the
> documentation:
>
>   bitbake:
>     url: https://git.openembedded.org/bitbake
>     layers:
>       .: disabled

Just set:

layers:
bitbake : "excluded"

It works for me.

Best regards,
Stefano Babic

>
>   core:
>     url: https://git.openembedded.org/openembedded-core
>     layers:
>       meta:
>
> Would there be any interest in some syntactic sugar for "this repo has
> no layers"?
>
> Thanks,
> Ross
>
> --
> You received this message because you are subscribed to the Google
> Groups "kas-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to kas-devel+...@googlegroups.com <mailto:kas-
> devel+un...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/kas-
> devel/6a429c20-23cc-45ac-ab6f-893552e56b3dn%40googlegroups.com <https://
> groups.google.com/d/msgid/kas-devel/6a429c20-23cc-45ac-
> ab6f-893552e56b3dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Nabla Software Engineering GmbH
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: off...@nabladev.com
Geschäftsführer : Stefano Babic

MOESSBAUER, Felix

unread,
Sep 9, 2025, 11:33:32 AMSep 9
to sba...@nabladev.com, ro...@burtonini.com, kas-...@googlegroups.com
On Tue, 2025-09-09 at 17:27 +0200, 'Stefano Babic' via kas-devel wrote:
> On 9/9/25 17:23, Ross Burton wrote:
> > Hi,
> >
> > With it looking very likely that poky will no longer be a unified
> > repository in the future, I've been switching out CI to use bitbake +
> > oe-core.
> >
> > It's not rocket science but is somewhat verbose and not obvious from the
> > documentation:
> >
> >   bitbake:
> >     url: https://git.openembedded.org/bitbake
> >     layers:
> >       .: disabled
>
> Just set:
>
> layers:
> bitbake : "excluded"
>
> It works for me.

Right, both options are valid.
Thanks for bringing this up.

I don't think we need syntactic sugar for that, but we definitely need
to provide an example for this pattern. People often don't read the
documentation, but look at examples.

Anyone willing to send a patch?

Felix
> To unsubscribe from this group and stop receiving emails from it, send an email to kas-devel+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/kas-devel/f957a514-11dd-4969-bbe6-65c99fa35f94%40nabladev.com.

--
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany

Reply all
Reply to author
Forward
0 new messages