distro/rhel85: name param for xorrisofs input
It might not always be `bootiso-tree`.
This commit is contained in:
parent
3781cc0f47
commit
4126f4e17a
2 changed files with 3 additions and 3 deletions
|
|
@ -905,7 +905,7 @@ func bootISOPipeline(filename string, arch string) *osbuild.Pipeline {
|
|||
p.Name = "bootiso"
|
||||
p.Build = "name:build"
|
||||
|
||||
p.AddStage(osbuild.NewXorrisofsStage(xorrisofsStageOptions(filename, arch), xorrisofsStageInputs()))
|
||||
p.AddStage(osbuild.NewXorrisofsStage(xorrisofsStageOptions(filename, arch), xorrisofsStageInputs("bootiso-tree")))
|
||||
p.AddStage(osbuild.NewImplantisomd5Stage(&osbuild.Implantisomd5StageOptions{Filename: filename}))
|
||||
|
||||
return p
|
||||
|
|
|
|||
|
|
@ -42,11 +42,11 @@ func ostreePullStageInputs(origin, source, commitRef string) *osbuild.OSTreePull
|
|||
return &osbuild.OSTreePullStageInputs{Commits: pullStageInput}
|
||||
}
|
||||
|
||||
func xorrisofsStageInputs() *osbuild.XorrisofsStageInputs {
|
||||
func xorrisofsStageInputs(pipeline string) *osbuild.XorrisofsStageInputs {
|
||||
input := new(osbuild.XorrisofsStageInput)
|
||||
input.Type = "org.osbuild.tree"
|
||||
input.Origin = "org.osbuild.pipeline"
|
||||
input.References = osbuild.XorrisofsStageReferences{"name:bootiso-tree"}
|
||||
input.References = osbuild.XorrisofsStageReferences{"name:" + pipeline}
|
||||
return &osbuild.XorrisofsStageInputs{Tree: input}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue