manifest: rpm stage options for ostree commits
When building a fedora ostree commit, set the new ostree_booted flag in the rpm stage and the dbpath to /usr/share/rpm
This commit is contained in:
parent
0b3bfd0d02
commit
0c77e4be60
16 changed files with 49 additions and 15 deletions
|
|
@ -245,6 +245,10 @@ func (p *OS) serialize() osbuild.Pipeline {
|
|||
rpmOptions.Exclude.Docs = true
|
||||
}
|
||||
rpmOptions.GPGKeysFromTree = p.GPGKeyFiles
|
||||
if p.OSTree != nil {
|
||||
rpmOptions.OSTreeBooted = common.BoolToPtr(true)
|
||||
rpmOptions.DBPath = "/usr/share/rpm"
|
||||
}
|
||||
pipeline.AddStage(osbuild.NewRPMStage(rpmOptions, osbuild.NewRpmStageSourceFilesInputs(p.packageSpecs)))
|
||||
|
||||
// If the /boot is on a separate partition, the prefix for the BLS stage must be ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue