nixpkgs/boot/boot-stage-2.nix
Eelco Dolstra 9986bda673 * Move the stuff in boot-stage-2-init.sh that doesn't have to happen
at boot time into a separate script.  This will allow us to change
  the configuration without rebooting (provided that the configuration
  doesn't have a different kernel, init, etc.).

svn path=/nixos/trunk/; revision=7294
2006-12-09 19:25:23 +00:00

29 lines
511 B
Nix

{ genericSubstituter, shell, coreutils, findutils
, gnugrep, utillinux, kernel, udev, upstart
, activateConfiguration
, # Whether the root device is root only. If so, we'll mount a
# ramdisk on /etc, /var and so on.
readOnlyRoot
}:
let
startPath = [
coreutils
findutils
gnugrep
utillinux
udev
upstart
];
in
genericSubstituter {
src = ./boot-stage-2-init.sh;
isExecutable = true;
inherit shell kernel upstart readOnlyRoot activateConfiguration;
inherit startPath;
}