Blame internal/osbuild2/implantisomd5_stage.go
|
Packit Service |
15f37d |
package osbuild2
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
type Implantisomd5StageOptions struct {
|
|
Packit Service |
15f37d |
// Path in the ISO where the md5 checksum will be implanted
|
|
Packit Service |
15f37d |
Filename string `json:"filename"`
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func (Implantisomd5StageOptions) isStageOptions() {}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
// Implant an MD5 checksum in an ISO9660 image
|
|
Packit Service |
15f37d |
func NewImplantisomd5Stage(options *Implantisomd5StageOptions) *Stage {
|
|
Packit Service |
15f37d |
return &Stage{
|
|
Packit Service |
15f37d |
Type: "org.osbuild.implantisomd5",
|
|
Packit Service |
15f37d |
Options: options,
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
}
|