All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meta-poky/conf: bblayers.conf.sample: move meta-yocto repos out of oe-core
@ 2025-10-28 10:49 Antonin Godard
  2025-10-28 11:49 ` [poky] " Alexander Kanavin
  2025-11-18 10:37 ` Alexander Kanavin
  0 siblings, 2 replies; 9+ messages in thread
From: Antonin Godard @ 2025-10-28 10:49 UTC (permalink / raw)
  To: poky; +Cc: Thomas Petazzoni, Antonin Godard

Since the Poky repository will stop being updated (in favor of
bitbake-setup), the meta-poky and meta-yocto-bsp are no longer part
of ##OEROOT## by default when cloning the OE-Core and meta-yocto
repositories separately.

As a consequence the current bblayers.conf.sample file will not work
unless a user takes the extra steps of moving meta-poky and
meta-yocto-bsp out of meta-yocto and move it in openembedded-core.

Instead, make the assumption that meta-yocto has been cloned next to
openembedded-core with its default name ("meta-yocto") and update the
paths accordingly. This layout is the one provided by bitbake-setup.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
I'm also in the process of creating a document in yocto-docs that
describes how to build the Poky reference distro without bitbake-setup,
and that uses this file to setup layers. So this layout will also be
reflected in the documentation.
---
 meta-poky/conf/templates/default/bblayers.conf.sample | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-poky/conf/templates/default/bblayers.conf.sample b/meta-poky/conf/templates/default/bblayers.conf.sample
index 8b1cbdf..d34b552 100644
--- a/meta-poky/conf/templates/default/bblayers.conf.sample
+++ b/meta-poky/conf/templates/default/bblayers.conf.sample
@@ -7,6 +7,6 @@ BBFILES ?= ""
 
 BBLAYERS ?= " \
   ##OEROOT##/meta \
-  ##OEROOT##/meta-poky \
-  ##OEROOT##/meta-yocto-bsp \
+  ##OEROOT##/../meta-yocto/meta-poky \
+  ##OEROOT##/../meta-yocto/meta-yocto-bsp \
   "

---
base-commit: fe65e142d0d9ba0e51ff9175ffa82e902f982a20
change-id: 20251028-update-bblayers-sample-8b46ca3e8a55

Best regards,
--  
Antonin Godard <antonin.godard@bootlin.com>



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

end of thread, other threads:[~2025-11-18 17:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28 10:49 [PATCH] meta-poky/conf: bblayers.conf.sample: move meta-yocto repos out of oe-core Antonin Godard
2025-10-28 11:49 ` [poky] " Alexander Kanavin
2025-10-28 12:19   ` Antonin Godard
2025-10-28 12:47     ` Alexander Kanavin
2025-11-18 10:37 ` Alexander Kanavin
2025-11-18 11:48   ` Richard Purdie
2025-11-18 11:54     ` Alexander Kanavin
2025-11-18 12:18       ` Antonin Godard
2025-11-18 17:02         ` Alexander Kanavin

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.