image: make read only sysroot optional for OSTreeRawImage
This commit is contained in:
parent
4ae8304bd2
commit
d32dff14b4
2 changed files with 6 additions and 1 deletions
|
|
@ -23,6 +23,8 @@ type OSTreeDeployment struct {
|
|||
|
||||
commit ostree.CommitSpec
|
||||
|
||||
SysrootReadOnly bool
|
||||
|
||||
osName string
|
||||
|
||||
KernelOptionsAppend []string
|
||||
|
|
@ -144,7 +146,7 @@ func (p *OSTreeDeployment) serialize() osbuild.Pipeline {
|
|||
Repo: repoPath,
|
||||
Config: &osbuild.OSTreeConfig{
|
||||
Sysroot: &osbuild.SysrootOptions{
|
||||
ReadOnly: common.BoolToPtr(true),
|
||||
ReadOnly: &p.SysrootReadOnly,
|
||||
Bootloader: "none",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue