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
|
return ps
|
||||||
}
|
}
|
||||||
|
|
||||||
func installerBuildPackageSet(t *imageType) rpmmd.PackageSet {
|
|
||||||
return rpmmd.PackageSet{
|
|
||||||
Include: []string{
|
|
||||||
"isomd5sum",
|
|
||||||
"xorriso",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func anacondaBuildPackageSet(t *imageType) rpmmd.PackageSet {
|
func anacondaBuildPackageSet(t *imageType) rpmmd.PackageSet {
|
||||||
ps := rpmmd.PackageSet{
|
ps := rpmmd.PackageSet{
|
||||||
Include: []string{
|
Include: []string{
|
||||||
|
|
@ -120,7 +111,6 @@ func anacondaBuildPackageSet(t *imageType) rpmmd.PackageSet {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
ps = ps.Append(installerBuildPackageSet(t))
|
|
||||||
ps = ps.Append(anacondaBootPackageSet(t))
|
ps = ps.Append(anacondaBootPackageSet(t))
|
||||||
|
|
||||||
return ps
|
return ps
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,13 @@ func NewISOPipeline(m *Manifest,
|
||||||
return p
|
return p
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (p *ISOPipeline) getBuildPackages() []string {
|
||||||
|
return []string{
|
||||||
|
"isomd5sum",
|
||||||
|
"xorriso",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func (p *ISOPipeline) serialize() osbuild2.Pipeline {
|
func (p *ISOPipeline) serialize() osbuild2.Pipeline {
|
||||||
pipeline := p.BasePipeline.serialize()
|
pipeline := p.BasePipeline.serialize()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue