rhel84: only download parent commit for installer
The parent commit would be added to the sources unconditionally. This is only necessary for the edge-installer image type. This doesn't technically change the build behaviour of an existing distro and image type. It simply avoids unnecessarily downloading an ostree commit when only the ref is needed. It does change the 'sources' section of the manifest however.
This commit is contained in:
parent
a49ba1e672
commit
e8a1509d46
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ func (t *imageTypeS2) Manifest(c *blueprint.Customizations,
|
|||
}
|
||||
|
||||
var commits []ostreeCommit
|
||||
if options.OSTree.Parent != "" && options.OSTree.URL != "" {
|
||||
if t.bootISO && options.OSTree.Parent != "" && options.OSTree.URL != "" {
|
||||
commit := ostreeCommit{Checksum: options.OSTree.Parent, URL: options.OSTree.URL}
|
||||
commits = []ostreeCommit{commit}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue