nixpkgs/nixos/modules/installer
Erik Arvstedt 64589bcefa
nixos/netboot: use makeInitrdNG to shrink ramdisk size
Previously, `makeInitrd` added the whole closure of the squashfs
derivation to initrd.
This closure contains the squashfs.img and some store paths which are
still referenced by the compressed squashfs.img.
These extra store paths are unused in stage 1.

With `makeInitrdNG` only the squashfs.img is added to the initrd.
(`makeInitrdNG` only resolves shared library references instead of the
whole closure).

This shrinks the netboot ramdisk by ~6% for a minimal system and
significantly decreases the size of the uncompressed root filesystem
in stage 1.
2022-06-07 22:34:30 +02:00
..
cd-dvd lib/systems/inspect.nix: remove isPowerPC 2022-05-25 09:45:42 +02:00
kexec nixos/kexec-boot: auto-detect the right kernel name to support aarch64 2022-04-18 20:34:18 +02:00
netboot nixos/netboot: use makeInitrdNG to shrink ramdisk size 2022-06-07 22:34:30 +02:00
scan
sd-card sd-image-aarch64: deduplicate cm4 section 2022-04-26 20:23:50 -07:00
tools nix-fallback-paths.nix: Update to 2.8.1 2022-05-14 15:19:14 +02:00
virtualbox-demo.nix nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00