distro/f30: drop liveiso support
This never worked, either here or in lorax. Drop it so it is not shown in the UI. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
d1d3768d9d
commit
c6e73e65a5
3 changed files with 0 additions and 39 deletions
|
|
@ -1,31 +0,0 @@
|
|||
package fedora30
|
||||
|
||||
import (
|
||||
"github.com/osbuild/osbuild-composer/internal/blueprint"
|
||||
"github.com/osbuild/osbuild-composer/internal/pipeline"
|
||||
)
|
||||
|
||||
type liveIsoOutput struct{}
|
||||
|
||||
func (t *liveIsoOutput) translate(b *blueprint.Blueprint) (*pipeline.Pipeline, error) {
|
||||
// TODO!
|
||||
p := getF30Pipeline()
|
||||
addF30SELinuxStage(p)
|
||||
addF30QemuAssembler(p, "raw", t.getName())
|
||||
|
||||
if b.Customizations != nil {
|
||||
err := customizeAll(p, b.Customizations)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
return p, nil
|
||||
}
|
||||
|
||||
func (t *liveIsoOutput) getName() string {
|
||||
return "image.iso"
|
||||
}
|
||||
|
||||
func (t *liveIsoOutput) getMime() string {
|
||||
return "application/x-iso9660-image"
|
||||
}
|
||||
|
|
@ -24,7 +24,6 @@ func init() {
|
|||
outputs: map[string]output{
|
||||
"ami": &amiOutput{},
|
||||
"ext4-filesystem": &ext4Output{},
|
||||
"live-iso": &liveIsoOutput{},
|
||||
"partitioned-disk": &diskOutput{},
|
||||
"qcow2": &qcow2Output{},
|
||||
"openstack": &openstackOutput{},
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ func TestListOutputFormats(t *testing.T) {
|
|||
want := []string{
|
||||
"ami",
|
||||
"ext4-filesystem",
|
||||
"live-iso",
|
||||
"openstack",
|
||||
"partitioned-disk",
|
||||
"qcow2",
|
||||
|
|
@ -50,12 +49,6 @@ func TestFilenameFromType(t *testing.T) {
|
|||
want: "filesystem.img",
|
||||
want1: "application/octet-stream",
|
||||
},
|
||||
{
|
||||
name: "live-iso",
|
||||
args: args{"live-iso"},
|
||||
want: "image.iso",
|
||||
want1: "application/x-iso9660-image",
|
||||
},
|
||||
{
|
||||
name: "openstack",
|
||||
args: args{"openstack"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue