Skip to contentSkip to conversation

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

PATCH New Richard Purdie 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

- improve bb-layers property description
- add bb-layers-file-relative property

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

Based on a patch from Alexander Kanavin <[email protected]> but with updated naming.

---
 meta/files/bitbake-setup.schema.json | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
meta/files/bitbake-setup.schema.json +8 -1
index 5101b0de53e..7030f1d6d55 100644
@@ -39,7 +39,14 @@
                             },
                             "bb-layers": {
                                 "type": "array",
-                                "description": "List of BitBake layers to include",
+                                "description": "List of BitBake layer paths to include, relative to the layers download directory",
+                                "items": {
+                                    "type": "string"
+                                }
+                            },
+                            "bb-layers-file-relative": {
+                                "type": "array",
+                                "description": "List of BitBake layers paths to include, relative to the directory with the configuration file",
                                 "items": {
                                     "type": "string"
                                 }