osbuild2/xorrisofs: make Boot section optional

Should be a pointer otherwise it creates an empty object in the manifest
which makes the stage fail.

Co-Developed-by: Christian Kellner <christian@kellner.me>
This commit is contained in:
Achilleas Koutsou 2021-08-19 18:06:33 +02:00 committed by Tom Gundersen
parent a936c44d24
commit 14b5e98be8
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ type XorrisofsStageOptions struct {
// System ID to set
SysID string `json:"sysid,omitempty"`
Boot XorrisofsBoot `json:"boot,omitempty"`
Boot *XorrisofsBoot `json:"boot,omitempty"`
EFI string `json:"efi,omitempty"`