debian-forge-composer/internal/blueprint/tar_output.go
Tom Gundersen 22254637f8 blueprint: generate real f30 images for all the output types
This is still just a placeholder, and in particular the live CD support
is not right.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-10-08 21:03:45 +02:00

20 lines
380 B
Go

package blueprint
import "osbuild-composer/internal/pipeline"
type tarOutput struct{}
func (t *tarOutput) translate(b *Blueprint) *pipeline.Pipeline {
p := getF30Pipeline()
addF30SELinuxStage(p)
addF30TarAssembler(p, t.getName())
return p
}
func (t *tarOutput) getName() string {
return "image.tar"
}
func (t *tarOutput) getMime() string {
return "application/x-tar"
}