summary refs log tree commit diff
path: root/nixos/lib/make-squashfs.nix
Commit message (Collapse)AuthorAge
* make-squashfs: use $NIX_BUILD_CORES or 48 cores if above 48Artturin2021-12-08
| | | | | | | | | | | 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
* squashfs: use -no-hardlinks for reproducible squashfs images (#114454)Arnout Engelen2021-02-28
| | | | | | | | | | | | | | | | | 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
* kernel config: add support for CONFIG_SQUASHFS_ZSTD (#52967)Danylo Hlynskyi2019-01-17
| | | Also, allow override `make-squashfs.nix` compression parameters.
* ISO images: Initialize the Nix database with correct NAR hashes/sizesEelco Dolstra2018-02-07
| | | | | The boot test now runs "nix verify" to ensure that all hashes are correct.
* makeSquashfs: Inputs are nativeBuildInputsBen Gamari2018-01-09
|
* make-squashfs.nix: Improve invalid path check messagesTuomas Tynkkynen2017-12-15
| | | | | | | Now the mtime problems are gone, but EC2 Hydra builders are still having some problems: https://hydra.nixos.org/build/66043835
* make-squashfs: Hack to avoid building images where nixos-install won't runTuomas Tynkkynen2017-12-03
| | | | https://github.com/NixOS/nixpkgs/issues/32242
* Tune mksquashfs for smaller isos.LluĂ­s Batlle i Rossell2016-12-28
| | | | Bigger block size, more suitable for xz.
* nixos: compress squashfs with xzFranz Pletz2016-11-23
|
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10