[PATCH v5 2/2] meta/files/layers.schema.json: use URI shortcut for some remotes

Corentin Guillevic
2026-01-23T17:26:19Z

Among the three sources, only two have a single remote. So we can replace
their entire structure 'remote' -> 'origin' -> 'uri' with a shorter one
(property 'uri' only).

Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr>
---
meta/files/layers.example.json | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/meta/files/layers.example.json b/meta/files/layers.example.json
index f3b6522083..d990502205 100644
--- a/meta/files/layers.example.json
+++ b/meta/files/layers.example.json
@@ -5,11 +5,7 @@
"git-remote": {
"branch": "master",
"describe": "",
- "remotes": {
- "remote-alex": {
- "uri": "https://github.com/kanavin/meta-alex"
- }
- },
+ "uri": "https://github.com/kanavin/meta-alex",
"rev": "05b25605fb8b2399e4706d7323828676bf0da0b5"
},
"path": "meta-alex"
@@ -18,11 +14,7 @@
"git-remote": {
"branch": "master",
"describe": "15.0-hardknott-3.3-310-g0a96edae",
- "remotes": {
- "origin": {
- "uri": "git://git.yoctoproject.org/meta-intel"
- }
- },
+ "uri": "git://git.yoctoproject.org/meta-intel",
"rev": "0a96edae609a3f48befac36af82cf1eed6786b4a"
}
},
--
2.51.0