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 <alex@linutronix.de> but with
updated naming.

(From OE-Core rev: b9d761c06350020e14e09c5bfa7b92eded43d889)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2025-11-07 09:00:56 +01:00
parent 2aeb91cdb3
commit fbd3a1ab2d

View File

@ -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"
}