diff options
| author | Arnout Engelen <arnout@bzzt.net> | 2021-02-28 19:03:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-28 18:03:50 +0000 |
| commit | 0aeba64fb26e4defa0842a942757144659c6e29f (patch) | |
| tree | e916f657df91f4101d6145d3bd9ce84a9b915ac2 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | c6898f85418fd2a895a17fb9a9ba64d2ca1e9803 (diff) | |
squashfs: use -no-hardlinks for reproducible squashfs images (#114454)
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
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
