Skip to content

Commit

Permalink
pkg/image: use ustar tar format for OVAs
Browse files Browse the repository at this point in the history
The official spec recommends ustar.
  • Loading branch information
croissanne authored and achilleas-k committed Jul 19, 2023
1 parent 8163cf2 commit 75be446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/image/live.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (img *LiveImage) InstantiateManifest(m *manifest.Manifest,
vmdkPipeline := manifest.NewVMDK(m, buildPipeline, imagePipeline, nil)
ovfPipeline := manifest.NewOVF(m, buildPipeline, vmdkPipeline)
artifactPipeline := manifest.NewTar(m, buildPipeline, ovfPipeline, "archive")
artifactPipeline.Format = osbuild.TarArchiveFormatOldgnu
artifactPipeline.Format = osbuild.TarArchiveFormatUstar
artifactPipeline.RootNode = osbuild.TarRootNodeOmit
artifactPipeline.Filename = img.Filename
artifact = artifactPipeline.Export()
Expand Down

0 comments on commit 75be446

Please sign in to comment.