From 10e4a853bd3ff3146b6221203ac24a33f6e4743b Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Fri, 20 Aug 2021 12:25:44 +0200 Subject: [PATCH] osbuild2: ostree options for the fstab stage osbuild, since version 30, supports the ostree deployments for the fstab stage. Co-Developed-by: Achilleas Koutsou Co-Developed-by: Christian Kellner --- internal/osbuild2/fstab_stage.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/osbuild2/fstab_stage.go b/internal/osbuild2/fstab_stage.go index be02d4094..20ec46c44 100644 --- a/internal/osbuild2/fstab_stage.go +++ b/internal/osbuild2/fstab_stage.go @@ -7,10 +7,16 @@ package osbuild2 // are set to their defaults (if possible). type FSTabStageOptions struct { FileSystems []*FSTabEntry `json:"filesystems"` + + OSTree *OSTreeFstab `json:"ostree,omitempty"` } func (FSTabStageOptions) isStageOptions() {} +type OSTreeFstab struct { + Deployment OSTreeDeployment `json:"deployment"` +} + // NewFSTabStage creates a now FSTabStage object func NewFSTabStage(options *FSTabStageOptions) *Stage { return &Stage{