erofs: use multithreading in mkfs when possible
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Some checks failed
ci/woodpecker/push/ci Pipeline failed
This commit is contained in:
parent
ae825ff709
commit
ac4309657b
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue