manifest: add any pipeline to ISO pipeline
Support adding any pipeline as the tree for the ISO. The existing ISOTree (bootiso-tree) pipeline is specific to Anaconda. This change will allow the ISO (bootiso) pipeline to be created with any pipeline, so we can add an ISO tree that is specific to the CoreOS Installer.
This commit is contained in:
parent
115c0717c4
commit
3d1f283dab
3 changed files with 8 additions and 8 deletions
|
|
@ -144,7 +144,7 @@ func (img *ImageInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
isoTreePipeline.OSPipeline = osPipeline
|
||||
isoTreePipeline.KernelOpts = img.AdditionalKernelOpts
|
||||
|
||||
isoPipeline := manifest.NewISO(m, buildPipeline, isoTreePipeline)
|
||||
isoPipeline := manifest.NewISO(m, buildPipeline, isoTreePipeline, isoLabel)
|
||||
isoPipeline.Filename = img.Filename
|
||||
isoPipeline.ISOLinux = img.Platform.GetArch() == platform.ARCH_X86_64
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ func (img *OSTreeInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
|
||||
isoTreePipeline.OSTree = &img.Commit
|
||||
|
||||
isoPipeline := manifest.NewISO(m, buildPipeline, isoTreePipeline)
|
||||
isoPipeline := manifest.NewISO(m, buildPipeline, isoTreePipeline, isoLabel)
|
||||
isoPipeline.Filename = img.Filename
|
||||
isoPipeline.ISOLinux = img.Platform.GetArch() == platform.ARCH_X86_64
|
||||
artifact := isoPipeline.Export()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue