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:
parent
6a7e57ce8d
commit
4e75acc44a
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue