Skip to contentSkip to conversation

conf/layer: add scarthgap as compatible

PATCH In review [email protected] 2 participants 2 messages Apr 17, 2025 – Apr 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf/layer: add scarthgap as compatible

From: Jeroen Hofstee <[email protected]>

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.

---
 README          | 7 +++++++
 conf/layer.conf | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
README +7 -0
index d0b6bc4..b12c360 100644
@@ -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 | \
conf/layer.conf +1 -1
index 5d1b19f..30a0e00 100644
@@ -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 \
Signature · 1 line
2.43.0
#1 lore raw

I think there should rather be a scarthgap/go branch. Listing multiple yocto releases in LAYERSERIES_COMPAT is not a good practice.

Alex

Quoted 61 lines · Jeroen Hofstee via lists.yoctoproject.org

From: Jeroen Hofstee <[email protected]>

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.

---
 README          | 7 +++++++
 conf/layer.conf | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
README +7 -0
index d0b6bc4..b12c360 100644
@@ -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 | \
conf/layer.conf +1 -2
index 5d1b19f..30a0e00 100644
@@ -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 \
--

2.43.0

------------
Links: You receive all messages sent to this group.
View/Reply Online (#1378): https://lists.yoctoproject.org/g/yocto-patches/message/1378
Mute This Topic: https://lists.yoctoproject.org/mt/112316185/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13197349/1686489/315264618/xyzzy [[email protected]]
------------