osbuild2: set the Insecure option for curl sources
When creating the curl source item for a package, set the Insecure option on the source to the value of the IgnoreSSL field for the package.
This commit is contained in:
parent
2555910f77
commit
45ba071724
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ func GenSources(packages []rpmmd.PackageSpec, ostreeCommits []ostree.CommitSourc
|
|||
Name: "org.osbuild.rhsm",
|
||||
}
|
||||
}
|
||||
item.Insecure = pkg.IgnoreSSL
|
||||
curl.Items[pkg.Checksum] = item
|
||||
}
|
||||
if len(curl.Items) > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue