Skip to contentSkip to conversation

bitbake-setup: rename oe-nodistro to oe-nodistro-master

PATCH New Alexander Kanavin 1 participant 3 messages Nov 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 bitbake-setup: rename oe-nodistro to oe-nodistro-master

From: Alexander Kanavin <[email protected]>

This makes it consistent with poky-master and upcoming release-specific configurations (e.g. poky-whinlatter).

---
 .../{oe-nodistro.conf.json => oe-nodistro-master.conf.json}   | 2 +-
 .../bitbake-user-manual-environment-setup.rst                 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename default-registry/configurations/{oe-nodistro.conf.json => oe-nodistro-master.conf.json} (96%)
default-registry/configurations/oe-nodistro-master.conf.json renamed from default-registry/configurations/oe-nodistro.conf.json +1 -1
similarity index 96%
rename from default-registry/configurations/oe-nodistro.conf.json
rename to default-registry/configurations/oe-nodistro-master.conf.json
index 9f9314399..180d2008a 100644
@@ -40,7 +40,7 @@
         {
             "name": "nodistro",
             "description": "OpenEmbedded 'nodistro'",
-            "setup-dir-name": "oe-nodistro",
+            "setup-dir-name": "oe-nodistro-master",
             "bb-layers": ["openembedded-core/meta"],
             "oe-fragments-one-of": {
                 "machine": {
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +2 -2
index 2b8051bcb..962fc9463 100644
@@ -334,7 +334,7 @@ In addition, the command can take the following arguments:
 
    .. code-block:: shell
 
-      $ ./bitbake/bin/bitbake-setup init https://git.openembedded.org/bitbake/plain/default-registry/configurations/oe-nodistro.conf.json
+      $ ./bitbake/bin/bitbake-setup init https://git.openembedded.org/bitbake/plain/default-registry/configurations/oe-nodistro-master.conf.json
 
 -  This example initializes a :term:`Setup` with: 
 
@@ -845,7 +845,7 @@ Generic Configuration Examples
 
 OpenEmbedded "nodistro" configuration for master branches:
 
-.. literalinclude:: ../../default-registry/configurations/oe-nodistro.conf.json
+.. literalinclude:: ../../default-registry/configurations/oe-nodistro-master.conf.json
    :language: json
 
 Poky distribution configuration for master branches:
Signature · 1 line
2.39.5
#1 lore raw

PATCH v2 2/3 bitbake-setup: add an optional 'expires' property to the schema

From: Alexander Kanavin <[email protected]>

This can be used to document, in a progammatic way, the end of life date for a configuration, and make users aware of it.

Bitbake documentation already has its description and does not need an update.

Bitbake-setup is using the property to tell the users until when a given configuration is supported, and omits it from available interactive choices if the date has passed (unless asked expicitly on command line).

---
 setup-schema/bitbake-setup.schema.json | 4 ++++
 1 file changed, 4 insertions(+)
setup-schema/bitbake-setup.schema.json +4 -0
index 027ba2568..e51fef3b9 100644
@@ -15,6 +15,10 @@
         "sources": {
             "$ref": "layers.schema.json#/properties/sources"
         },
+        "expires": {
+            "type": "string",
+            "description": "End of life date for this configuration, in ISO 8601 format (YYYY-MM-DD)"
+        },
         "bitbake-setup": {
             "type": "object",
             "description": "BitBake-setup configurations",
Signature · 1 line
2.39.5
#2 lore raw

PATCH v2 3/3 bitbake-setup: add whinlatter configs for poky and oe-nodistro

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

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)

---
 .../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
default-registry/configurations/oe-nodistro-whinlatter.conf.json new file +56 -0
new file mode 100644
index 000000000..7b183ae1c
@@ -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"
+}
default-registry/configurations/poky-whinlatter.conf.json new file +80 -0

80 lines not on this page · raw message

Signature · 1 line
2.39.5