From 663541f0b3e0238a94fd3d39cc42ff651509f82c Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Wed, 10 Jan 2024 18:11:15 +0100 Subject: [PATCH] iso: compress squashfs with `zstd` `zstd` compression leads to a faster build. --- bib/cmd/bootc-image-builder/image.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bib/cmd/bootc-image-builder/image.go b/bib/cmd/bootc-image-builder/image.go index 2ba09371f..3914ed5f4 100644 --- a/bib/cmd/bootc-image-builder/image.go +++ b/bib/cmd/bootc-image-builder/image.go @@ -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", @@ -230,6 +232,7 @@ func pipelinesForISO(c *ManifestConfig, rng *rand.Rand) (image.ImageKind, error) "linux-firmware", "lldpad", "lsof", + "lz4", "madan-fonts", "mt-st", "mtr",