From 86f3ae55e423bbccb290bd07a50decf976b23cab Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 24 Feb 2022 16:41:36 +0100 Subject: [PATCH] osbuild2: add X11Keymap option to KeymapStageOptions This was introduced in osbuild but not yet exposed. --- internal/osbuild1/keymap_stage.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/osbuild1/keymap_stage.go b/internal/osbuild1/keymap_stage.go index 7c213f0ab..50d80a329 100644 --- a/internal/osbuild1/keymap_stage.go +++ b/internal/osbuild1/keymap_stage.go @@ -1,7 +1,12 @@ package osbuild1 +type X11Keymap struct { + Layouts []string `json:"layouts"` +} + type KeymapStageOptions struct { - Keymap string `json:"keymap"` + Keymap string `json:"keymap"` + X11Keymap *X11Keymap `json:"x11-keymap,omitempty"` } func (KeymapStageOptions) isStageOptions() {}