Tune mksquashfs for smaller isos.
Bigger block size, more suitable for xz.
This commit is contained in:
parent
35e3ea0966
commit
897b10998b
@ -25,6 +25,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Generate the squashfs image.
|
# Generate the squashfs image.
|
||||||
mksquashfs nix-path-registration $storePaths $out \
|
mksquashfs nix-path-registration $storePaths $out \
|
||||||
-keep-as-directory -all-root -comp xz
|
-keep-as-directory -all-root -b 1048576 -comp xz -Xdict-size 100%
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user