add dummy type fields for pkgbuild generators

This field is required in order to pass config validation in case if
section name differs from default one. Also by default keyring_generator
and mirrorlist_generator have been renamed to keyring-generator and
mirrorlist-generator respectively for consistence
This commit is contained in:
2023-08-17 16:02:15 +03:00
parent c37f67c558
commit 42fccb76ef
5 changed files with 18 additions and 8 deletions

View File

@ -46,9 +46,13 @@ class KeyringTrigger(Trigger):
},
},
},
"keyring_generator": {
"keyring-generator": {
"type": "dict",
"schema": {
"type": {
"type": "string",
"allowed": ["keyring-generator"],
},
"description": {
"type": "string",
},

View File

@ -42,9 +42,13 @@ class MirrorlistTrigger(Trigger):
},
},
},
"mirrorlist_generator": {
"mirrorlist-generator": {
"type": "dict",
"schema": {
"type": {
"type": "string",
"allowed": ["mirrorlist-generator"],
},
"description": {
"type": "string",
},