diff mbox series

[meta-lts-mixins,kirkstone/go] conf/layer: add scarthgap as compatible

Message ID 20250417160709.3581248-1-oe@myspectrum.nl
State New
Headers show
Series [meta-lts-mixins,kirkstone/go] conf/layer: add scarthgap as compatible | expand

Commit Message

Jeroen Hofstee April 17, 2025, 4:07 p.m. UTC
From: Jeroen Hofstee <jhofstee@victronenergy.com>

Scarthgap shipped go 1.22, which is now EOL since the release of
go 1.24. This adds scarthap as compatible to the kirkstone branch,
so a newer version of go can be compiled for that release as well.
While that is a bit mixing releases, that seems rather applicable
to this repository. Add a note to README that the kirkstone/go
branch is compatible with both.

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
---
 README          | 7 +++++++
 conf/layer.conf | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/README b/README
index d0b6bc4..b12c360 100644
--- a/README
+++ b/README
@@ -5,6 +5,13 @@  and officially Kirkstone supports only that. This thin special-purpose mixin
 layer is meant to address this issue by backporting Go recipes from the master
 branch of openembedded-core.
 
+A the time Scarthgap was released in April 2024, Go 1.22 was the latest version
+and officially Scarthgap supports only that. Since the branches for Kirkstone
+and Scarthgap would be the same and they are supported till April 2026, the
+kirkstone/go branch is marked as compatible with Scarthgap as well.
+
+NOTE: The branch name might be subject to change, especially after April 2026.
+
 The patches can be backport from openembedded-core with:
 
  git -C ../openembedded-core format-patch --stdout -1 origin/master meta/recipes-devtools/go | \
diff --git a/conf/layer.conf b/conf/layer.conf
index 5d1b19f..30a0e00 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -8,7 +8,7 @@  BBFILE_COLLECTIONS += "lts-go-mixin"
 BBFILE_PATTERN_lts-go-mixin := "^${LAYERDIR}/"
 BBFILE_PRIORITY_lts-go-mixin = "6"
 
-LAYERSERIES_COMPAT_lts-go-mixin = "kirkstone"
+LAYERSERIES_COMPAT_lts-go-mixin = "kirkstone scarthgap"
 
 LAYERDEPENDS_lts-go-mixin = " \
     core \