]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
meta/files/bitbake-setup.schema.json: correct bb-layers definitions master
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Nov 2025 08:00:56 +0000 (09:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Nov 2025 10:23:56 +0000 (10:23 +0000)
- 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

index 5101b0de53e7e0df110bd4628a2b5441d08b64c6..7030f1d6d55801f7ecaf9a53369fb3d2c28fe579 100644 (file)
                             },
                             "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"
                                 }