diff mbox series

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

Message ID 20251107102421.1615976-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit b9d761c06350020e14e09c5bfa7b92eded43d889
Headers show
Series meta/files/bitbake-setup.schema.json: correct bb-layers definitions | expand

Commit Message

Richard Purdie Nov. 7, 2025, 10:24 a.m. UTC
- 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 <alex@linutronix.de> but with
updated naming.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/files/bitbake-setup.schema.json | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/files/bitbake-setup.schema.json b/meta/files/bitbake-setup.schema.json
index 5101b0de53e..7030f1d6d55 100644
--- a/meta/files/bitbake-setup.schema.json
+++ b/meta/files/bitbake-setup.schema.json
@@ -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"
                                 }