nixpkgs/test/boot-stage-2.nix
Eelco Dolstra 8a43fcd57c * Stage 1: clean up better (unmount /proc and /sys, remount new root
to /).
* Stage 2: use sysvinit to create a bunch of mingetty's on virtual
  consoles 1-6.  Show a nice welcoming message.  Start syslogd and log
  everything to tty10.

svn path=/nixu/trunk/; revision=6963
2006-11-06 22:21:50 +00:00

16 lines
314 B
Nix

{ genericSubstituter, shell, coreutils
, utillinux, kernel, sysklogd, mingetty
, path ? []
}:
genericSubstituter {
src = ./boot-stage-2-init.sh;
isExecutable = true;
inherit shell kernel sysklogd mingetty;
path = [
coreutils
utillinux
];
extraPath = path;
makeDevices = ./make-devices.sh;
}