mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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>
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"sources": {
|
|
"meta-alex": {
|
|
"contains_this_file": true,
|
|
"git-remote": {
|
|
"branch": "master",
|
|
"describe": "",
|
|
"remotes": {
|
|
"remote-alex": {
|
|
"uri": "https://github.com/kanavin/meta-alex"
|
|
}
|
|
},
|
|
"rev": "05b25605fb8b2399e4706d7323828676bf0da0b5"
|
|
},
|
|
"path": "meta-alex"
|
|
},
|
|
"meta-intel": {
|
|
"git-remote": {
|
|
"branch": "master",
|
|
"describe": "15.0-hardknott-3.3-310-g0a96edae",
|
|
"remotes": {
|
|
"origin": {
|
|
"uri": "git://git.yoctoproject.org/meta-intel"
|
|
}
|
|
},
|
|
"rev": "0a96edae609a3f48befac36af82cf1eed6786b4a"
|
|
}
|
|
},
|
|
"poky": {
|
|
"git-remote": {
|
|
"branch": "akanavin/setup-layers",
|
|
"describe": "4.1_M1-374-g9dda719b2a",
|
|
"remotes": {
|
|
"origin": {
|
|
"uri": "git://git.yoctoproject.org/poky"
|
|
},
|
|
"poky-contrib": {
|
|
"uri": "ssh://git@push.yoctoproject.org/poky-contrib"
|
|
}
|
|
},
|
|
"rev": "9dda719b2a4727a4d43a6ab8d9e23f8ca68790ec"
|
|
},
|
|
"path": "poky"
|
|
}
|
|
},
|
|
"version": "1.0"
|
|
}
|