]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oe-setup-layers: support inline URI
authorCorentin Guillevic <corentin.guillevic@smile.fr>
Fri, 23 Jan 2026 17:26:12 +0000 (18:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Feb 2026 15:41:55 +0000 (15:41 +0000)
commit55761539e0f2996889d17fe3bfe5eb72deffa5f7
treea393004b9c5a29aa7391956290b0e5af001d4d9a
parentbad92fd26cd6699156f863d9d7d386ba8c385e52
oe-setup-layers: support inline URI

Most of the time, when we describe a remote, the layer data (also used by
the script bitbake-setup) looks like this:

"bitbake": {
    "git-remote": {
        "remotes": {
            "origin": {
                "uri": "https://git.openembedded.org/bitbake"
            }
        },
        ...
    }
}

i.e. an URI with the common name 'origin'. Alternatively, we could simplify this, by
using a shorter structure with the property 'uri' only:

"bitbake": {
    "git-remote": {
        "uri": "https://git.openembedded.org/bitbake

",
        ...
    }
}

These properties can be used together.

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>
scripts/oe-setup-layers