nixpkgs-suyu/boot/boot-stage-2.nix
Eelco Dolstra 578b56d3c6 * Make halt/reboot work again (umount and reboot were no longer in
$PATH).

* Use the login from pam_login instead of shadowutils.

svn path=/nixos/trunk/; revision=7302
2006-12-11 00:52:36 +00:00

23 lines
486 B
Nix

{ substituteAll, coreutils
, 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
, # Path for Upstart jobs. Should be quite minimal.
upstartPath
}:
substituteAll {
src = ./boot-stage-2-init.sh;
isExecutable = true;
inherit kernel upstart readOnlyRoot activateConfiguration upstartPath;
path = [
coreutils
utillinux
udev
upstart
];
}