Skip to content

Commit

Permalink
rhel8/9: make edge images properly sysroot.readonly=true
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
runcom committed Oct 7, 2022
1 parent 603ebb6 commit 484f189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/distro/rhel8/pipelines.go
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ func ostreeDeployPipeline(
p.AddStage(osbuild.NewOSTreeConfigStage(ostreeConfigStageOptions(repoPath, true)))
p.AddStage(osbuild.NewMkdirStage(efiMkdirStageOptions()))
kernelOpts := osbuild.GenImageKernelOptions(pt)
kernelOpts = append(kernelOpts, "rw")
p.AddStage(osbuild.NewOSTreeDeployStage(
&osbuild.OSTreeDeployStageOptions{
OsName: osname,
Expand Down
1 change: 1 addition & 0 deletions internal/distro/rhel9/pipelines.go
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,7 @@ func ostreeDeployPipeline(
p.AddStage(osbuild.NewOSTreeConfigStage(ostreeConfigStageOptions(repoPath, true)))
p.AddStage(osbuild.NewMkdirStage(efiMkdirStageOptions()))
kernelOpts := osbuild.GenImageKernelOptions(pt)
kernelOpts = append(kernelOpts, "rw")
p.AddStage(osbuild.NewOSTreeDeployStage(
&osbuild.OSTreeDeployStageOptions{
OsName: osname,
Expand Down

0 comments on commit 484f189

Please sign in to comment.