erofs: use multithreading in mkfs when possible
Some checks failed
ci/woodpecker/push/ci Pipeline failed

This commit is contained in:
Daniel Lundin 2024-10-16 17:05:33 +02:00
parent ae825ff709
commit ac4309657b
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 4 additions and 2 deletions

View file

@ -21,9 +21,10 @@
mkfsOptions = {
erofs = [
# "-zzstd,6" # Zstd compression
"-zzstd,6" # Zstd compression
"-T0" # Fixed timestamp for all files
"-Efragments,dedupe,ztailpacking" # Extended options
"-C65536" # 64 KiB cluster size
# "-Efragments,dedupe,ztailpacking" # Extra features
];
};

View file

@ -3,6 +3,7 @@ final: prev: {
erofs-utils = prev.erofs-utils.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ prev.zstd ];
configureFlags = old.configureFlags ++ [
"--enable-multithreading"
"--enable-zstd"
];
});