distro: add a Sources method
This outputs the sources needed for the pipeline generated for the distro. At the moment no pipelines require sources, and so this always returns the empty list. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
7f97401ef8
commit
2d675ea51b
5 changed files with 20 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ func (d *TestDistro) Pipeline(b *blueprint.Blueprint, additionalRepos []rpmmd.Re
|
|||
return nil, errors.New("invalid output format or arch: " + outputFormat + " @ " + outputArch)
|
||||
}
|
||||
|
||||
func (d *TestDistro) Sources(packages []rpmmd.PackageSpec) *osbuild.Sources {
|
||||
return &osbuild.Sources{}
|
||||
}
|
||||
|
||||
func (d *TestDistro) Runner() string {
|
||||
return "org.osbuild.test"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue