Skip to contentSkip to conversation

meta/files/bitbake-setup.schema.json: correct bb-layers definitions

PATCH New Alexander Kanavin 1 participant 1 message Nov 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta/files/bitbake-setup.schema.json: correct bb-layers definitions

From: Alexander Kanavin <[email protected]>

- rename bb-layers property to bb-layers-in-sources and adjust its description
- add bb-layers-in-this-dir property

The rationale is that both properties are relative to their respective directories and that should be clear from their names (without being too verbose).

---
 meta/files/bitbake-setup.schema.json | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
meta/files/bitbake-setup.schema.json +9 -2
index 5101b0de53e..72d56f8ad8d 100644
@@ -37,9 +37,16 @@
                                 "type": "string",
                                 "description": "Human-readable description of the configuration"
                             },
-                            "bb-layers": {
+                            "bb-layers-in-sources": {
                                 "type": "array",
-                                "description": "List of BitBake layers to include",
+                                "description": "List of BitBake layer paths to include, relative to the sources checkout directory",
+                                "items": {
+                                    "type": "string"
+                                }
+                            },
+                            "bb-layers-in-this-dir": {
+                                "type": "array",
+                                "description": "List of BitBake layers paths to include, relative to the directory with the configuration file",
                                 "items": {
                                     "type": "string"
                                 }
Signature · 1 line
2.39.5