Skip to content

Commit

Permalink
iso: compress squashfs with zstd
Browse files Browse the repository at this point in the history
`zstd` compression leads to a faster build.
  • Loading branch information
supakeen committed Jan 10, 2024
1 parent 6028672 commit 294743e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bib/cmd/bootc-image-builder/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ func pipelinesForISO(c *ManifestConfig, rng *rand.Rand) (image.ImageKind, error)
}

img := image.NewAnacondaContainerInstaller(containerSource, ref)
img.SquashfsCompression = "zstd"

img.ExtraBasePackages = rpmmd.PackageSet{
Include: []string{
"aajohan-comfortaa-fonts",
Expand Down Expand Up @@ -230,6 +232,7 @@ func pipelinesForISO(c *ManifestConfig, rng *rand.Rand) (image.ImageKind, error)
"linux-firmware",
"lldpad",
"lsof",
"lz4",
"madan-fonts",
"mt-st",
"mtr",
Expand Down

0 comments on commit 294743e

Please sign in to comment.