about summary refs log tree commit diff
path: root/nixos/lib/make-squashfs.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-01-07nixos/lib/make-squashfs.nix: allow disabling compressionCole Mickens1-1/+2
2023-10-12make-squashfs: add support for pseudoFiles, custom name, and disabling stripAdam Stephens1-3/+10
2023-08-19make-squashfs: Only limit cores to 48 on i686Artturin1-1/+3
There shouldn't be a need to limit it on other systems
2023-05-11make-squashfs: use `__structuredAttrs`Naïm Favier1-0/+1
Makes it easier to enable discarding of references, a feature of Nix 2.14 which requires structured attrs.
2021-12-08make-squashfs: use $NIX_BUILD_CORES or 48 cores if above 48Artturin1-1/+8
by default all cores are used hoping this will fix the hydra i686 squashfs build issues as all the failures were using 64 cores Parallel mksquashfs: Using 64 processors Creating 4.0 filesystem on ..., block size 1048576. FATAL ERROR: mangle2:: xz compress failed with error code 5
2021-02-28squashfs: use -no-hardlinks for reproducible squashfs images (#114454)Arnout Engelen1-1/+1
the nix store may contain hardlinks: derivations may output them directly, or users may be using store optimization which automatically hardlinks identical files in the nix store. The presence of these links are intended to be a 'transparent' optimization. However, when creating a squashfs image, the image will be different depending on whether hard links were present on the filesystem, leading to reproducibility problems. By passing '-no-hardlinks' to mksquashfs the files are stored as duplicates in the squashfs image. Since squashfs has support for duplicate files this does not lead to a larger image. For more details see https://github.com/NixOS/nixpkgs/issues/114331
2019-01-17kernel config: add support for CONFIG_SQUASHFS_ZSTD (#52967)Danylo Hlynskyi1-1/+4
Also, allow override `make-squashfs.nix` compression parameters.
2018-02-07ISO images: Initialize the Nix database with correct NAR hashes/sizesEelco Dolstra1-37/+5
The boot test now runs "nix verify" to ensure that all hashes are correct.
2018-01-09makeSquashfs: Inputs are nativeBuildInputsBen Gamari1-1/+1
2017-12-15make-squashfs.nix: Improve invalid path check messagesTuomas Tynkkynen1-1/+1
Now the mtime problems are gone, but EC2 Hydra builders are still having some problems: https://hydra.nixos.org/build/66043835
2017-12-03make-squashfs: Hack to avoid building images where nixos-install won't runTuomas Tynkkynen1-0/+27
https://github.com/NixOS/nixpkgs/issues/32242
2016-12-28Tune mksquashfs for smaller isos.Lluís Batlle i Rossell1-1/+1
Bigger block size, more suitable for xz.
2016-11-23nixos: compress squashfs with xzFranz Pletz1-1/+1
2013-10-10Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra1-0/+30