distro: expose BasePackages
We want to be able to include the base packages when depsolving a blueprint, so expose the list. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
f0f2e80a97
commit
42e8ca19be
5 changed files with 60 additions and 8 deletions
|
|
@ -47,6 +47,10 @@ func (d *TestDistro) FilenameFromType(outputFormat string) (string, string, erro
|
|||
return "", "", errors.New("invalid output format: " + outputFormat)
|
||||
}
|
||||
|
||||
func (d *TestDistro) BasePackages(outputFormat, outputArchitecture string) ([]string, []string, error) {
|
||||
return nil, nil, nil
|
||||
}
|
||||
|
||||
func (d *TestDistro) Pipeline(b *blueprint.Blueprint, additionalRepos []rpmmd.RepoConfig, checksums map[string]string, outputArch, outputFormat string, size uint64) (*osbuild.Pipeline, error) {
|
||||
if outputFormat == "test_output" && outputArch == "test_arch" {
|
||||
return &osbuild.Pipeline{}, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue