osbuild2/grub: add greenboot option

The greenboot option, introduced in osbuild 33, enables the
feature of the same name in grub that allows rolling back
bad updates automatically.
This commit is contained in:
Christian Kellner 2021-08-25 19:24:42 +02:00 committed by Tom Gundersen
parent 6d08418107
commit 450d12fada

View file

@ -17,6 +17,7 @@ type GRUB2StageOptions struct {
Legacy string `json:"legacy,omitempty"`
UEFI *GRUB2UEFI `json:"uefi,omitempty"`
SavedEntry string `json:"saved_entry,omitempty"`
Greenboot bool `json:"greenboot,omitempty"`
}
type GRUB2UEFI struct {