mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:47:52 +00:00
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.
|
||||
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…
Reference in New Issue
Block a user