summaryrefslogtreecommitdiffstats
path: root/scripts/sstate-cache-management.py
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2025-10-24 02:16:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-27 17:20:42 +0000
commit57976f570937d636ff003f22a12e8872ac9fc3b8 (patch)
tree0eef0ef64cd9407c8b7b4c66ca30060d759ee116 /scripts/sstate-cache-management.py
parent6a2a827e9ceedcf7d9e43284b26a03289af7ed2a (diff)
downloadpoky-57976f570937d636ff003f22a12e8872ac9fc3b8.tar.gz
meta/files: Add a jsonschema for bitbake-setup configuration files
This schema is a bit loose and should validate any configuration files working with bitbake-setup but, also, some broken ones: * If present, a "bb-layer" can be an empty array. * bb-setup need at least one of "bb-layers" or "oe-template", that is not enforced in the current schema. * bb-setup accepts "configurations = []" but it results in a impossible choice in interactive mode. This is rejected by the schema. * In each configuration, "name" and "description" are optional but the flatten configuration must have them. This is not enforced by the schema. To test a configuration files against this schema: (for exemple to validate bitbake default registry) $ pip install check-jsonschema $ check-jsonschema -v --schemafile meta/files/bitbake-setup.schema.json bitbake/default-registry/configurations/* ok -- validation done The following files were checked: bitbake/default-registry/configurations/oe-nodistro.conf.json bitbake/default-registry/configurations/poky-master.conf.json (From OE-Core rev: 15107ba12ff35b27c2c0ae5a9dcc9c1418f55b13) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/sstate-cache-management.py')
0 files changed, 0 insertions, 0 deletions