Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes
@ 2026-12-01 10:50 Antonin Godard
  2026-12-01 10:50 ` [PATCH 1/2] templates: bblayers.conf.sample: remove unneeded assignments Antonin Godard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Antonin Godard @ 2026-12-01 10:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Richard Purdie, Thomas Petazzoni, Antonin Godard

Noticed this while refreshing the docs. This is to apply on current
master-next, after the layer configuration format change.

Patch 2/2: I'm not sure if this is what we want to do but this might
make sense to do now with all the recent layer configuration format
changes.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Antonin Godard (2):
      templates: bblayers.conf.sample: remove unneeded assignments
      sanity.conf: bump LAYER_CONF_VERSION

 meta/conf/sanity.conf                            | 2 +-
 meta/conf/templates/default/bblayers.conf.sample | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)
---
base-commit: 2215f1cdac2ae8d1eb7ae791ba4745b017fda721
change-id: 20261201-refresh-bblayers-conf-sample-1736d7cc9ca3


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

* [PATCH 1/2] templates: bblayers.conf.sample: remove unneeded assignments
  2026-12-01 10:50 [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes Antonin Godard
@ 2026-12-01 10:50 ` Antonin Godard
  2026-12-01 10:50 ` [PATCH 2/2] sanity.conf: bump LAYER_CONF_VERSION Antonin Godard
  2026-12-01 12:09 ` [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Antonin Godard @ 2026-12-01 10:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Richard Purdie, Thomas Petazzoni, Antonin Godard

After the layer configuration format changes, the BBPATH and BBFILES
variables no longer need to be set in this file.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 meta/conf/templates/default/bblayers.conf.sample | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/conf/templates/default/bblayers.conf.sample b/meta/conf/templates/default/bblayers.conf.sample
index c985f4f242..b7437863e9 100644
--- a/meta/conf/templates/default/bblayers.conf.sample
+++ b/meta/conf/templates/default/bblayers.conf.sample
@@ -2,9 +2,6 @@
 # changes incompatibly
 LCONF_VERSION = "7"
 
-BBPATH = "${TOPDIR}"
-BBFILES ?= ""
-
 BBLAYERS ?= " \
   ##OEROOT##/meta \
   "

-- 
2.56.0


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

* [PATCH 2/2] sanity.conf: bump LAYER_CONF_VERSION
  2026-12-01 10:50 [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes Antonin Godard
  2026-12-01 10:50 ` [PATCH 1/2] templates: bblayers.conf.sample: remove unneeded assignments Antonin Godard
@ 2026-12-01 10:50 ` Antonin Godard
  2026-12-01 12:09 ` [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Antonin Godard @ 2026-12-01 10:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Richard Purdie, Thomas Petazzoni, Antonin Godard

The recent layer configuration format changes are not
backward-compatible, so bump our LAYER_CONF_VERSION and the one we set
in our template.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 meta/conf/sanity.conf                            | 2 +-
 meta/conf/templates/default/bblayers.conf.sample | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/conf/sanity.conf b/meta/conf/sanity.conf
index ea39170c70..6ec1c57c1c 100644
--- a/meta/conf/sanity.conf
+++ b/meta/conf/sanity.conf
@@ -9,7 +9,7 @@ SANITY_ABIFILE = "${TMPDIR}/abi_version"
 
 SANITY_VERSION ?= "1"
 LOCALCONF_VERSION  ?= "2"
-LAYER_CONF_VERSION ?= "7"
+LAYER_CONF_VERSION ?= "8"
 SITE_CONF_VERSION  ?= "1"
 
 INHERIT += "sanity"
diff --git a/meta/conf/templates/default/bblayers.conf.sample b/meta/conf/templates/default/bblayers.conf.sample
index b7437863e9..356be8584c 100644
--- a/meta/conf/templates/default/bblayers.conf.sample
+++ b/meta/conf/templates/default/bblayers.conf.sample
@@ -1,6 +1,6 @@
 # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
 # changes incompatibly
-LCONF_VERSION = "7"
+LCONF_VERSION = "8"
 
 BBLAYERS ?= " \
   ##OEROOT##/meta \

-- 
2.56.0


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

* Re: [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes
  2026-12-01 10:50 [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes Antonin Godard
  2026-12-01 10:50 ` [PATCH 1/2] templates: bblayers.conf.sample: remove unneeded assignments Antonin Godard
  2026-12-01 10:50 ` [PATCH 2/2] sanity.conf: bump LAYER_CONF_VERSION Antonin Godard
@ 2026-12-01 12:09 ` Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2026-12-01 12:09 UTC (permalink / raw)
  To: Antonin Godard, openembedded-core; +Cc: Thomas Petazzoni

On Tue, 2026-12-01 at 11:50 +0100, Antonin Godard wrote:
> Noticed this while refreshing the docs. This is to apply on current
> master-next, after the layer configuration format change.
> 
> Patch 2/2: I'm not sure if this is what we want to do but this might
> make sense to do now with all the recent layer configuration format
> changes.

Thanks, I was meaning to track down that template tweak. I think they
both make sense, I'll queue them.

Cheers,

Richard

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

end of thread, other threads:[~2026-12-01 12:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 10:50 [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes Antonin Godard
2026-12-01 10:50 ` [PATCH 1/2] templates: bblayers.conf.sample: remove unneeded assignments Antonin Godard
2026-12-01 10:50 ` [PATCH 2/2] sanity.conf: bump LAYER_CONF_VERSION Antonin Godard
2026-12-01 12:09 ` [PATCH 0/2] Refresh bblayers.conf.sample/sanity.conf wrt recent layer.conf changes Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox