nixpkgs-suyu/boot/boot-stage-2.nix

24 lines
486 B
Nix
Raw Normal View History

{ 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
];
}