nixpkgs/test/boot-stage-2.nix

26 lines
502 B
Nix
Raw Normal View History

{ genericSubstituter, shell, coreutils, findutils
, utillinux, kernel, udev, upstart
, path ? []
, # Whether the root device is root only. If so, we'll mount a
# ramdisk on /etc, /var and so on.
readOnlyRoot
, # The Upstart job configuration.
upstartJobs
}:
genericSubstituter {
src = ./boot-stage-2-init.sh;
isExecutable = true;
inherit shell kernel upstart readOnlyRoot upstartJobs;
path = [
coreutils
findutils
utillinux
udev
upstart
];
extraPath = path;
}