osbuild2: add bootloader option to ostree.config

Expose the new (osbuild > 36) `sysroot.bootloader` option to
configure the bootloader backend for OSTree deployments.
Normally, this should be set to `none` for modern bootloader
that use the BLS, since the BLS snippets are always generated.
This commit is contained in:
Christian Kellner 2021-09-09 11:28:30 +02:00 committed by Ondřej Budai
parent 920863df70
commit f6d4228b00

View file

@ -16,7 +16,8 @@ type OSTreeConfig struct {
}
type SysrootOptions struct {
ReadOnly *bool `json:"readonly,omitempty"`
ReadOnly *bool `json:"readonly,omitempty"`
Bootloader string `json:"bootloader,omitempty"`
}
// A new org.osbuild.ostree.config stage to configure an OSTree repository