| |
@@ -1137,27 +1137,36 @@
|
| |
"additionalProperties": False,
|
| |
},
|
| |
"ostree_installer": _variant_arch_mapping(
|
| |
- {
|
| |
- "type": "object",
|
| |
- "properties": {
|
| |
- "repo": {"$ref": "#/definitions/repos"},
|
| |
- "release": {"$ref": "#/definitions/optional_string"},
|
| |
- "failable": {"$ref": "#/definitions/list_of_strings"},
|
| |
- "installpkgs": {"$ref": "#/definitions/list_of_strings"},
|
| |
- "add_template": {"$ref": "#/definitions/list_of_strings"},
|
| |
- "add_arch_template": {"$ref": "#/definitions/list_of_strings"},
|
| |
- "add_template_var": {"$ref": "#/definitions/list_of_strings"},
|
| |
- "add_arch_template_var": {
|
| |
- "$ref": "#/definitions/list_of_strings"
|
| |
+ _one_or_list(
|
| |
+ {
|
| |
+ "type": "object",
|
| |
+ "properties": {
|
| |
+ "repo": {"$ref": "#/definitions/repos"},
|
| |
+ "release": {"$ref": "#/definitions/optional_string"},
|
| |
+ "failable": {"$ref": "#/definitions/list_of_strings"},
|
| |
+ "installpkgs": {"$ref": "#/definitions/list_of_strings"},
|
| |
+ "add_template": {"$ref": "#/definitions/list_of_strings"},
|
| |
+ "add_arch_template": {
|
| |
+ "$ref": "#/definitions/list_of_strings"
|
| |
+ },
|
| |
+ "add_template_var": {
|
| |
+ "$ref": "#/definitions/list_of_strings"
|
| |
+ },
|
| |
+ "add_arch_template_var": {
|
| |
+ "$ref": "#/definitions/list_of_strings"
|
| |
+ },
|
| |
+ "rootfs_size": {"type": "string"},
|
| |
+ "template_repo": {"type": "string"},
|
| |
+ "template_branch": {"type": "string"},
|
| |
+ "extra_runroot_pkgs": {
|
| |
+ "$ref": "#/definitions/list_of_strings"
|
| |
+ },
|
| |
+ "skip_branding": {"type": "boolean"},
|
| |
+ "subvariant": {"type": "string"},
|
| |
},
|
| |
- "rootfs_size": {"type": "string"},
|
| |
- "template_repo": {"type": "string"},
|
| |
- "template_branch": {"type": "string"},
|
| |
- "extra_runroot_pkgs": {"$ref": "#/definitions/list_of_strings"},
|
| |
- "skip_branding": {"type": "boolean"},
|
| |
- },
|
| |
- "additionalProperties": False,
|
| |
- }
|
| |
+ "additionalProperties": False,
|
| |
+ }
|
| |
+ )
|
| |
),
|
| |
"ostree_use_koji_plugin": {"type": "boolean", "default": False},
|
| |
"ostree_container_use_koji_plugin": {"type": "boolean", "default": False},
|
| |
This PR updates the config schema to support multiple configurations for ostree installer, and allows to tell them apart with subvariant field. The code itself already supports running multiple tasks.