diff options
| author | Yoann Congal <yoann.congal@smile.fr> | 2025-11-01 23:57:44 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-03 17:40:41 +0000 |
| commit | 20c60e5ae3de9825c9b9c5e56109896e6a28e378 (patch) | |
| tree | 2bbab7c0d08deb2d3166482feb52e07aac7f030d /scripts/lib/checklayer/case.py | |
| parent | e2f12eabd7d23f7fa618064365209c4cce63d0c6 (diff) | |
| download | poky-20c60e5ae3de9825c9b9c5e56109896e6a28e378.tar.gz | |
oe-setup-layers: make "path" optional
Layer names and path are often redundant. Allow users to omit the path
key when it is equal to the layer name by using the layer name as a
default value for its path.
For example, from layers.example.json:
"sources": {
"meta-alex": {
"path": "meta-alex"
},
"meta-intel": {
"path": "meta-intel"
},
"poky": {
"path": "poky"
}
},
Update the schema to stop requiring "path" and remove it in example for
"meta-intel".
(From OE-Core rev: 7f36f0526fae5a81f9bc02e16cc849a2b1ea5797)
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/lib/checklayer/case.py')
0 files changed, 0 insertions, 0 deletions
