]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
meta/files/layers.schema.json: use URI shortcut for some remotes
authorCorentin Guillevic <corentin.guillevic@smile.fr>
Fri, 23 Jan 2026 17:26:13 +0000 (18:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Feb 2026 15:41:56 +0000 (15:41 +0000)
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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/layers.example.json

index f3b65220831c1ed1247616821d6c5e8dcbd11312..d9905022055694ddb8ebbd349e69a2b15dc21d4f 100644 (file)
@@ -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"
             "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"
             }
         },