diff --git a/pkg/erofs/erofs.go b/pkg/erofs/erofs.go index 191abae..e488013 100644 --- a/pkg/erofs/erofs.go +++ b/pkg/erofs/erofs.go @@ -79,13 +79,15 @@ func MakeErofs(tempdir string, rootfs string, eps *common.ExcludePaths, verity v args := []string{tmpErofs.Name(), rootfs} compression := LZ4HCCompression - zstdOk, parallelOk := mkerofsSupportsFeature() - if zstdOk { - args = append(args, "-z", "zstd") - compression = ZstdCompression - } - if parallelOk { - args = append(args, "--workers", fmt.Sprintf("%d", runtime.NumCPU())) + if false { // FIXME: following features are experimental, disabling for now + zstdOk, parallelOk := mkerofsSupportsFeature() + if zstdOk { + args = append(args, "-z", "zstd") + compression = ZstdCompression + } + if parallelOk { + args = append(args, "--workers", fmt.Sprintf("%d", runtime.NumCPU())) + } } if len(toExclude) != 0 { args = append(args, "--exclude-path", excludesFile)