3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/installer/netboot
Florian Klink 50648f568d nixos/…/kexec-boot.nix: move into netboot.nix, rename to kexecTree
`nixos/modules/installer/kexec/kexec-boot.nix` doesn't contain any
custom NixOS config, other than importing `netboot-minimal.nix` (which
imports `netboot-base.nix`, which imports `netboot.nix`.

`netboot.nix` really is just describing a self-contained system config,
running entirely off kernel and initrd, so we might as well move the
kexec script generation there as well.

`netboot.nix` already contains some `system.build` attributes.
Provide a `system.build.kexecTree` attribute (and `kexecScript` for
composability).
2022-06-09 19:59:03 +02:00
..
netboot-base.nix
netboot-minimal.nix
netboot.nix nixos/…/kexec-boot.nix: move into netboot.nix, rename to kexecTree 2022-06-09 19:59:03 +02:00