summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-prepare-root.sh
Commit message (Collapse)AuthorAge
* nixos-prepare-root: RemoveEelco Dolstra2018-02-07
| | | | This is no longer needed thanks to Nix 2.0 magic.
* nixos-prepare-root: chmod if dir already existsYegor Timoshenko2017-11-04
|
* nixos-prepare-root: force symlink at /runJörg Thalheim2017-05-01
| | | | Otherwise a reinstall will fail.
* make-disk-image: change to be less VM-centricDan Peebles2017-04-24
| | | | | | | | | | This changes much of the make-disk-image.nix logic (and thus most NixOS image building) to use LKL to set up the target directory structure rather than a Linux VM. The only work we still do in a VM is less IO-heavy stuff that while still time-consuming, is less of the overall load. The goal is to kill more of that stuff, but that will require deeper changes to NixOS activation scripts and switch-to-configuration.pl, and I don't want to bite off too much at once.
* Refactor nixos-install to separate out filesystem build logicDan Peebles2017-04-16
The key distinction I'm drawing is that there's a component that deals with the store of the machine being built, and another component for the store building it. The inner part of it assumes nothing from the builder (doesn't need chroot or root powers) so it can run comfortably inside a Nix build, as well as nixos-rebuild. I have some upcoming work that will use that to significantly speed up and streamline image builds for NixOS, especially on virtualized hosts like EC2, but it's also a reasonable speedup on native hosts.