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:
Achilleas Koutsou 2024-05-03 13:38:32 +02:00 committed by Tomáš Hozza
parent 57f701587d
commit cf75093163
9 changed files with 357 additions and 22 deletions

View file

@ -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) {