poky/meta/files/layers.schema.json
Alexander Kanavin 2bdc042d9c meta/files/layers.schema.json: drop the layers property
This is a leftover from one of the RFC iterations, where
the property contained available machines, distros and templates.
As all of those were dropped from the final version, there is no
reason to list the layers either anymore.

Normally this would be a backwards incompatible change, but as
the layer setup itself was just merged, I think we can do a quick
fixup :-)

(From OE-Core rev: 64a774de0e154ef81f20853fec903b17d9985a72)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-02 15:58:26 +01:00

77 lines
3.6 KiB
JSON

{
"description": "OpenEmbedder Layer Setup Manifest",
"type": "object",
"additionalProperties": false,
"required": [
"version"
],
"properties": {
"version": {
"description": "The version of this document; currently '1.0'",
"enum": ["1.0"]
},
"sources": {
"description": "The dict of layer sources",
"type": "object",
"patternProperties": { ".*" : {
"type": "object",
"description": "The upstream source from which a set of layers may be fetched",
"additionalProperties": false,
"required": [
"path"
],
"properties": {
"path": {
"description": "The path where this layer source will be placed when fetching",
"type": "string"
},
"contains_this_file": {
"description": "Whether the directory with the layer source also contains this json description. Tools may want to skip the checkout of the source then.",
"type": "boolean"
},
"git-remote": {
"description": "A remote git source from which to fetch",
"type": "object",
"additionalProperties": false,
"required": [
"rev"
],
"properties": {
"branch": {
"description": "The git branch to fetch (optional)",
"type": "string"
},
"rev": {
"description": "The git revision to checkout",
"type": "string"
},
"describe": {
"description": "The output of 'git describe' (human readable description of the revision using tags in revision history).",
"type": "string"
},
"remotes": {
"description": "The dict of git remotes to add to this repository",
"type": "object",
"patternProperties": { ".*" : {
"description": "A git remote",
"type": "object",
"addtionalProperties": false,
"required": [
"uri"
],
"properties": {
"uri": {
"description": "The URI for the remote",
"type": "string"
}
}
}}
}
}
}
}
}
}}
}
}