mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 02:24:30 +00:00
![]() 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. |
||
---|---|---|
.. | ||
config | ||
hardware | ||
i18n/input-method | ||
installer | ||
misc | ||
profiles | ||
programs | ||
security | ||
services | ||
system | ||
tasks | ||
testing | ||
virtualisation | ||
module-list.nix | ||
rename.nix |