manifest: build packages - move over installer pkgs
The `installerBuildPackageSet() are required by the ISOPipeline, move it there.
This commit is contained in:
parent
70d7a25a8e
commit
7c51aba903
2 changed files with 7 additions and 10 deletions
|
|
@ -103,15 +103,6 @@ func anacondaBootPackageSet(t *imageType) rpmmd.PackageSet {
|
|||
return ps
|
||||
}
|
||||
|
||||
func installerBuildPackageSet(t *imageType) rpmmd.PackageSet {
|
||||
return rpmmd.PackageSet{
|
||||
Include: []string{
|
||||
"isomd5sum",
|
||||
"xorriso",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func anacondaBuildPackageSet(t *imageType) rpmmd.PackageSet {
|
||||
ps := rpmmd.PackageSet{
|
||||
Include: []string{
|
||||
|
|
@ -120,7 +111,6 @@ func anacondaBuildPackageSet(t *imageType) rpmmd.PackageSet {
|
|||
},
|
||||
}
|
||||
|
||||
ps = ps.Append(installerBuildPackageSet(t))
|
||||
ps = ps.Append(anacondaBootPackageSet(t))
|
||||
|
||||
return ps
|
||||
|
|
|
|||
|
|
@ -31,6 +31,13 @@ func NewISOPipeline(m *Manifest,
|
|||
return p
|
||||
}
|
||||
|
||||
func (p *ISOPipeline) getBuildPackages() []string {
|
||||
return []string{
|
||||
"isomd5sum",
|
||||
"xorriso",
|
||||
}
|
||||
}
|
||||
|
||||
func (p *ISOPipeline) serialize() osbuild2.Pipeline {
|
||||
pipeline := p.BasePipeline.serialize()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue