osbuild2/grub2.inst: always include location in stage options

Location property is actually required. If it's omitted from the stage
options, the stage just fails.

Also see: https://github.com/osbuild/osbuild/pull/759

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-08-05 08:21:42 +02:00 committed by Achilleas Koutsou
parent e37d5e5b17
commit 5c9af03785

View file

@ -14,7 +14,7 @@ type Grub2InstStageOptions struct {
// Platform of the target system
Platform string `json:"platform"`
Location uint64 `json:"location,omitempty"`
Location uint64 `json:"location"`
// How to obtain the GRUB core image
Core CoreMkImage `json:"core"`