diff mbox series

[bitbake-devel,2/2] default-registry: Change default setup dir

Message ID 20251117194840.2322115-2-JPEWhacker@gmail.com
State New
Headers show
Series [bitbake-devel,1/2] bitbake-setup: Allow setup-dir-name to be specified in JSON | expand

Commit Message

Joshua Watt Nov. 17, 2025, 7:48 p.m. UTC
Uses the template mechanism to provide shorter setup-dir names by
default. Specifically, the machine names are no longer part of the setup
path since they are intended to be changed without needing a new setup
directory.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 default-registry/configurations/oe-nodistro.conf.json | 1 +
 default-registry/configurations/poky-master.conf.json | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/default-registry/configurations/oe-nodistro.conf.json b/default-registry/configurations/oe-nodistro.conf.json
index 7619738b1..7ed00584f 100644
--- a/default-registry/configurations/oe-nodistro.conf.json
+++ b/default-registry/configurations/oe-nodistro.conf.json
@@ -43,6 +43,7 @@ 
         {
             "name": "nodistro",
             "description": "OpenEmbedded 'nodistro'",
+            "setup-dir-name": "oe-nodistro",
             "bb-layers": ["openembedded-core/meta"],
             "oe-fragments-one-of": {
                 "machine": {
diff --git a/default-registry/configurations/poky-master.conf.json b/default-registry/configurations/poky-master.conf.json
index 60531ba02..e55ff796e 100644
--- a/default-registry/configurations/poky-master.conf.json
+++ b/default-registry/configurations/poky-master.conf.json
@@ -54,6 +54,7 @@ 
         "configurations": [
         {
             "bb-layers": ["openembedded-core/meta","meta-yocto/meta-yocto-bsp","meta-yocto/meta-poky"],
+            "setup-dir-name": "poky-master-$distro",
             "oe-fragments-one-of": {
                 "machine": {
                     "description": "Target machines",