Blame internal/osbuild2/discinfo_stage.go
|
Packit Service |
15f37d |
package osbuild2
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
type DiscinfoStageOptions struct {
|
|
Packit Service |
15f37d |
// Build architecture
|
|
Packit Service |
15f37d |
BaseArch string `json:"basearch"`
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
// The product name
|
|
Packit Service |
15f37d |
Release string `json:"release"`
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func (DiscinfoStageOptions) isStageOptions() {}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
// Creates a .discinfo file describing a disk
|
|
Packit Service |
15f37d |
func NewDiscinfoStage(options *DiscinfoStageOptions) *Stage {
|
|
Packit Service |
15f37d |
return &Stage{
|
|
Packit Service |
15f37d |
Type: "org.osbuild.discinfo",
|
|
Packit Service |
15f37d |
Options: options,
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
}
|