osbuild: add squashfs stage
Add support for the org.osbuild.squashfs stage.
This commit is contained in:
parent
3d772b6846
commit
204b4177ec
1 changed files with 17 additions and 0 deletions
17
internal/osbuild/squashfs_stage.go
Normal file
17
internal/osbuild/squashfs_stage.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package osbuild
|
||||
|
||||
type SquashfsStageOptions struct {
|
||||
Filename string `json:"filename"`
|
||||
|
||||
Compression FSCompression `json:"compression"`
|
||||
}
|
||||
|
||||
func (SquashfsStageOptions) isStageOptions() {}
|
||||
|
||||
func NewSquashfsStage(options *SquashfsStageOptions, inputPipeline string) *Stage {
|
||||
return &Stage{
|
||||
Type: "org.osbuild.squashfs",
|
||||
Options: options,
|
||||
Inputs: NewPipelineTreeInputs("tree", inputPipeline),
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue