mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-14 22:04:27 +01:00
578b56d3c6
$PATH). * Use the login from pam_login instead of shadowutils. svn path=/nixos/trunk/; revision=7302
23 lines
486 B
Nix
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
|
|
];
|
|
}
|