diff --git a/pkg/erofs/erofs.go b/pkg/erofs/erofs.go index d1b9d4f..6fe3a2b 100644 --- a/pkg/erofs/erofs.go +++ b/pkg/erofs/erofs.go @@ -79,8 +79,11 @@ func MakeErofs(tempdir string, rootfs string, eps *common.ExcludePaths, verity v args := []string{tmpErofs.Name(), rootfs} compression := LZ4HCCompression - // NOTE: both zstd and parallel support is experimental, skipping for now - _, parallelOk := mkerofsSupportsFeature() + zstdOk, parallelOk := mkerofsSupportsFeature() + if zstdOk && false { // NOTE: zstd support is experimental, skipping for now + args = append(args, "-z", "zstd") + compression = ZstdCompression + } if parallelOk { args = append(args, "--workers", fmt.Sprintf("%d", runtime.NumCPU())) }