osbuild-pipeline: support check_gpg

Allow this to be set on the input repos, and passed on to dnf-json.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-06-10 16:21:53 +02:00 committed by Lars Karlitski
parent 6a7e57ce8d
commit 4e75acc44a

View file

@ -23,6 +23,7 @@ type repository struct {
Metalink string `json:"metalink,omitempty"`
MirrorList string `json:"mirrorlist,omitempty"`
GPGKey string `json:"gpgkey,omitempty"`
CheckGPG bool `json:"check_gpg,omitempty"`
}
type composeRequest struct {
@ -109,6 +110,7 @@ func main() {
Metalink: repo.Metalink,
MirrorList: repo.MirrorList,
GPGKey: repo.GPGKey,
CheckGPG: repo.CheckGPG,
}
}