nixpkgs/pkgs/build-support/kernel
Maximilian Bosch b6ef9ffdfd
nixos/udev: compress firmware with zstd if possible
Closes #267442

    $ nix path-info -Sh /nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz
    /nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz	440.3M
    $ nix path-info -Sh /nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd
    /nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd	460.6M

This is an increase of 4.4%, but OTOH zstd has a significantly higher
decompression speed[1].

[1] https://gregoryszorc.com/blog/2017/03/07/better-compression-with-zstandard/
2024-04-19 16:46:25 +02:00
..
make-initrd-ng makeInitrdNGTool: 0.1.0 -> 0.1.0 2024-02-12 05:11:50 +00:00
compress-firmware.nix nixos/udev: compress firmware with zstd if possible 2024-04-19 16:46:25 +02:00
initrd-compressor-meta.nix
make-initrd-ng-tool.nix treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
make-initrd-ng.nix make-initrd-ng: fix reproducibility problems 2023-12-04 19:23:06 +01:00
make-initrd.nix make-initrd: fix reproducibility problems 2022-04-14 19:06:30 -05:00
make-initrd.sh make-initrd: fix reproducibility problems 2022-04-14 19:06:30 -05:00
modules-closure.nix
modules-closure.sh linux kernel: prefer zstd where possible 2024-04-19 16:45:35 +02:00
paths-from-graph.pl