debian-forge-composer/internal/osbuild2/device.go
Achilleas Koutsou e85fc3b48c osbuild2: new stages and osbuild features
Stages:
- org.osbuild.copy
- org.osbuild.truncate
- org.osbuild.sfdisk
- org.osbuild.qemu
- org.osbuild.mkfs.btrfs
- org.osbuild.mkfs.ext4
- org.osbuild.mkfs.fat
- org.osbuild.mkfs.xfs
- org.osbuild.grub2.inst

Stages can now have devices and mounts in addition to options and
inputs.

Devices:
- org.osbuild.loopback

Mounts:
- org.osbuild.btrfs
- org.osbuild.ext4
- org.osbuild.fat
- org.osbuild.xfs
2021-07-24 15:54:00 +02:00

14 lines
217 B
Go

package osbuild2
type Devices interface {
isStageDevices()
}
type Device struct {
Type string `json:"type"`
Options DeviceOptions `json:"options"`
}
type DeviceOptions interface {
isDeviceOptions()
}