osbuild-pipeline: Search the current dir for repository configs
We treat the osbuild-pipeline as a tool run only within the source, therefore we should search for the repository configs only in the current directory.
This commit is contained in:
parent
b0ddbc744a
commit
679c8c40cd
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
distros := distro.NewRegistry([]string{"/etc/osbuild-composer", "/usr/share/osbuild-composer"})
|
||||
distros := distro.NewRegistry([]string{"."})
|
||||
d := distros.GetDistro(distroArg)
|
||||
if d == nil {
|
||||
panic("unknown distro: " + distroArg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue