diff mbox series

bitbake-setup: add whinlatter configs for poky and oe-nodistro

Message ID 20251126085726.2502674-1-alex.kanavin@gmail.com
State Accepted, archived
Commit 720df1a53452983c1c832f624490e255cf389204
Headers show
Series bitbake-setup: add whinlatter configs for poky and oe-nodistro | expand

Commit Message

Alexander Kanavin Nov. 26, 2025, 8:57 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

Compared to master, these:
- adjust the branch names (particularly bitbake is at 2.16, making a reference
for matching it with whinlatter branches in layers and docs)
- adjust the description to add "release 5.3 'whinlatter'
- add an 'expires' field so that bitbake-setup can print the date until
the release is supported (and exclude it from 'list' and interactive 'init'
thereafter, unless whinaltter is explicitly asked for).

Bitbake-setup output:

Available configurations:
1. poky-master	Poky - The Yocto Project testing distribution configurations and hardware test platforms
2. oe-nodistro-master	OpenEmbedded - 'nodistro' basic configuration
3. poky-whinlatter	Poky - The Yocto Project testing distribution configurations and hardware test platforms, release 5.3 'whinlatter' (supported until 2026-05-31)
4. oe-nodistro-whinlatter	OpenEmbedded - 'nodistro' basic configuration, release 5.3 'whinlatter' (supported until 2026-05-31)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 .../oe-nodistro-whinlatter.conf.json          | 56 +++++++++++++
 .../configurations/poky-whinlatter.conf.json  | 80 +++++++++++++++++++
 2 files changed, 136 insertions(+)
 create mode 100644 default-registry/configurations/oe-nodistro-whinlatter.conf.json
 create mode 100644 default-registry/configurations/poky-whinlatter.conf.json

Comments

Mathieu Dubois-Briand Nov. 27, 2025, 7:56 a.m. UTC | #1
On Wed Nov 26, 2025 at 9:57 AM CET, Alexander Kanavin via lists.openembedded.org wrote:
> From: Alexander Kanavin <alex@linutronix.de>
>
> Compared to master, these:
> - adjust the branch names (particularly bitbake is at 2.16, making a reference
> for matching it with whinlatter branches in layers and docs)
> - adjust the description to add "release 5.3 'whinlatter'
> - add an 'expires' field so that bitbake-setup can print the date until
> the release is supported (and exclude it from 'list' and interactive 'init'
> thereafter, unless whinaltter is explicitly asked for).
>
> Bitbake-setup output:
>
> Available configurations:
> 1. poky-master	Poky - The Yocto Project testing distribution configurations and hardware test platforms
> 2. oe-nodistro-master	OpenEmbedded - 'nodistro' basic configuration
> 3. poky-whinlatter	Poky - The Yocto Project testing distribution configurations and hardware test platforms, release 5.3 'whinlatter' (supported until 2026-05-31)
> 4. oe-nodistro-whinlatter	OpenEmbedded - 'nodistro' basic configuration, release 5.3 'whinlatter' (supported until 2026-05-31)
>
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---

Hi Alexander,

Thanks for your patch.

It looks like this is breaking some test on the oe-core side:

2025-11-26 18:03:29,827 - oe-selftest - INFO - bblayers.BitbakeLayers.test_validate_bitbake_setup_default_registry (subunit.RemotedTestCase)
2025-11-26 18:03:29,828 - oe-selftest - INFO -  ... FAIL
...
{'description': "Poky - The Yocto Project testing distribution configurations and hardware test platforms, release 5.3 'whinlatter'", 'expires': '2026-05-31', 'sources': {'bitbake': {'git-remote': {'remotes': {'origin': {'uri': 'https://git.openembedded.org/bitbake'}}, 'branch': '2.16', 'rev': '2.16'}}, 'openembedded-core': {'git-remote': {'remotes': {'origin': {'uri': 'https://git.openembedded.org/openembedded-core'}}, 'branch': 'whinlatter', 'rev': 'whinlatter'}}, 'meta-yocto': {'git-remote': {'remotes': {'origin': {'uri': 'https://git.yoctoproject.org/meta-yocto'}}, 'branch': 'whinlatter', 'rev': 'whinlatter'}}, 'yocto-docs': {'git-remote': {'remotes': {'origin': {'uri': 'https://git.yoctoproject.org/yocto-docs'}}, 'branch': 'whinlatter', 'rev': 'whinlatter'}}}, 'bitbake-setup': {'configurations': [{'bb-layers': ['openembedded-core/meta', 'meta-yocto/meta-yocto-bsp', 'meta-yocto/meta-poky'], 'setup-dir-name': '$distro-whinlatter', 'oe-fragments-one-of': {'machine': {'description': 'Target machines', 'options': ['machine/qemux86-64', 'machine/qemuarm64', 'machine/qemuriscv64', 'machine/genericarm64', 'machine/genericx86-64']}, 'distro': {'description': 'Distribution configuration variants', 'options': ['distro/poky', 'distro/poky-altcfg', 'distro/poky-tiny']}}, 'configurations': [{'name': 'poky', 'description': 'Poky - The Yocto Project testing distribution'}, {'name': 'poky-with-sstate', 'description': 'Poky - The Yocto Project testing distribution with internet sstate acceleration. Use with caution as it requires a completely robust local network with sufficient bandwidth.', 'oe-fragments': ['core/yocto/sstate-mirror-cdn']}]}]}, 'version': '1.0'}: Additional properties are not allowed ('expires' was unexpected)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2897
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2759
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/2655

Can you have a look at this?

Thanks,
Mathieu
diff mbox series

Patch

diff --git a/default-registry/configurations/oe-nodistro-whinlatter.conf.json b/default-registry/configurations/oe-nodistro-whinlatter.conf.json
new file mode 100644
index 000000000..7b183ae1c
--- /dev/null
+++ b/default-registry/configurations/oe-nodistro-whinlatter.conf.json
@@ -0,0 +1,56 @@ 
+{
+    "description": "OpenEmbedded - 'nodistro' basic configuration, release 5.3 'whinlatter'",
+    "expires": "2026-05-31",
+    "sources": {
+        "bitbake": {
+            "git-remote": {
+                "remotes": {
+                    "origin": {
+                        "uri": "https://git.openembedded.org/bitbake"
+                    }
+                },
+                "branch": "2.16",
+                "rev": "2.16"
+            }
+        },
+        "openembedded-core": {
+            "git-remote": {
+                "remotes": {
+                    "origin": {
+                        "uri": "https://git.openembedded.org/openembedded-core"
+                    }
+                },
+                "branch": "whinlatter",
+                "rev": "whinlatter"
+            }
+        },
+        "yocto-docs": {
+            "git-remote": {
+                "remotes": {
+                    "origin": {
+                        "uri": "https://git.yoctoproject.org/yocto-docs"
+                    }
+                },
+                "branch": "whinlatter",
+                "rev": "whinlatter"
+            }
+        }
+    },
+    "bitbake-setup": {
+        "configurations": [
+        {
+            "name": "nodistro",
+            "description": "OpenEmbedded 'nodistro'",
+            "setup-dir-name": "oe-nodistro-whinlatter",
+            "bb-layers": ["openembedded-core/meta"],
+            "oe-fragments-one-of": {
+                "machine": {
+                    "description": "Target machines",
+                    "options" : ["machine/qemux86-64", "machine/qemuarm64", "machine/qemuriscv64"]
+                }
+            }
+        }
+        ]
+    },
+    "version": "1.0"
+}
diff --git a/default-registry/configurations/poky-whinlatter.conf.json b/default-registry/configurations/poky-whinlatter.conf.json
new file mode 100644
index 000000000..bfa67426d
--- /dev/null
+++ b/default-registry/configurations/poky-whinlatter.conf.json
@@ -0,0 +1,80 @@ 
+{
+    "description": "Poky - The Yocto Project testing distribution configurations and hardware test platforms, release 5.3 'whinlatter'",
+    "expires": "2026-05-31",
+    "sources": {
+        "bitbake": {
+            "git-remote": {
+                "remotes": {
+                    "origin": {
+                        "uri": "https://git.openembedded.org/bitbake"
+                    }
+                },
+                "branch": "2.16",
+                "rev": "2.16"
+            }
+        },
+        "openembedded-core": {
+            "git-remote": {
+                "remotes": {
+                    "origin": {
+                        "uri": "https://git.openembedded.org/openembedded-core"
+                    }
+                },
+                "branch": "whinlatter",
+                "rev": "whinlatter"
+            }
+        },
+        "meta-yocto": {
+            "git-remote": {
+                "remotes": {
+                    "origin": {
+                        "uri": "https://git.yoctoproject.org/meta-yocto"
+                    }
+                },
+                "branch": "whinlatter",
+                "rev": "whinlatter"
+            }
+        },
+        "yocto-docs": {
+            "git-remote": {
+                "remotes": {
+                    "origin": {
+                        "uri": "https://git.yoctoproject.org/yocto-docs"
+                    }
+                },
+                "branch": "whinlatter",
+                "rev": "whinlatter"
+            }
+        }
+    },
+    "bitbake-setup": {
+        "configurations": [
+        {
+            "bb-layers": ["openembedded-core/meta","meta-yocto/meta-yocto-bsp","meta-yocto/meta-poky"],
+            "setup-dir-name": "$distro-whinlatter",
+            "oe-fragments-one-of": {
+                "machine": {
+                    "description": "Target machines",
+                    "options" : ["machine/qemux86-64", "machine/qemuarm64", "machine/qemuriscv64", "machine/genericarm64", "machine/genericx86-64"]
+                },
+                "distro": {
+                    "description": "Distribution configuration variants",
+                    "options" : ["distro/poky", "distro/poky-altcfg", "distro/poky-tiny"]
+                }
+            },
+            "configurations": [
+            {
+                "name": "poky",
+                "description": "Poky - The Yocto Project testing distribution"
+            },
+            {
+                "name": "poky-with-sstate",
+                "description": "Poky - The Yocto Project testing distribution with internet sstate acceleration. Use with caution as it requires a completely robust local network with sufficient bandwidth.",
+                "oe-fragments": ["core/yocto/sstate-mirror-cdn"]
+            }
+            ]
+        }
+        ]
+    },
+    "version": "1.0"
+}