diff --git a/stages/org.osbuild.ostree.config b/stages/org.osbuild.ostree.config index b004fbaf79..bd3a28a01c 100755 --- a/stages/org.osbuild.ostree.config +++ b/stages/org.osbuild.ostree.config @@ -42,6 +42,11 @@ SCHEMA = """ "readonly": { "description": "Read only sysroot and boot", "type": "boolean" + }, + "composefs": { + "description": "Enable composefs image generation on deploy.", + "type": "string", + "enum": ["true", "false", "maybe"] } } } @@ -74,6 +79,10 @@ def main(tree, options): ro = "true" if readonly else "false" ostree("config", "set", "sysroot.readonly", ro, repo=repo) + composefs = sysroot_options.get("composefs") + if composefs is not None: + ostree("config", "set", "ex-integrity.composefs", composefs, repo=repo) + if __name__ == '__main__': stage_args = osbuild.api.arguments()