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
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.nix
make-initrd.sh
modules-closure.nix
modules-closure.sh linux kernel: prefer zstd where possible 2024-04-19 16:45:35 +02:00
paths-from-graph.pl