Update osbuild/images v0.59.0
Pulling in: - https://github.com/osbuild/images/pull/650 - https://github.com/osbuild/images/pull/651
This commit is contained in:
parent
57f701587d
commit
cf75093163
9 changed files with 357 additions and 22 deletions
6
vendor/github.com/osbuild/images/pkg/dnfjson/dnfjson.go
generated
vendored
6
vendor/github.com/osbuild/images/pkg/dnfjson/dnfjson.go
generated
vendored
|
|
@ -50,6 +50,12 @@ type BaseSolver struct {
|
|||
// doesn't use libexec.
|
||||
func findDepsolveDnf() string {
|
||||
locations := []string{"/usr/libexec/osbuild-depsolve-dnf", "/usr/lib/osbuild/osbuild-depsolve-dnf"}
|
||||
|
||||
// Override the default location
|
||||
testLocation := os.Getenv("OSBUILD_DEPSOLVE_DNF")
|
||||
if len(testLocation) > 0 {
|
||||
locations = []string{testLocation}
|
||||
}
|
||||
for _, djPath := range locations {
|
||||
_, err := os.Stat(djPath)
|
||||
if !os.IsNotExist(err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue