2006-11-07 14:05:27 -08:00
|
|
|
{ genericSubstituter, shell, coreutils, findutils
|
2006-11-20 09:28:08 -08:00
|
|
|
, utillinux, kernel, udev, upstart
|
2006-11-06 14:21:50 -08:00
|
|
|
, path ? []
|
2006-11-13 03:41:27 -08:00
|
|
|
|
|
|
|
, # Whether the root device is root only. If so, we'll mount a
|
|
|
|
# ramdisk on /etc, /var and so on.
|
|
|
|
readOnlyRoot
|
2006-11-19 12:07:45 -08:00
|
|
|
|
|
|
|
, # The Upstart job configuration.
|
|
|
|
upstartJobs
|
2006-11-27 08:26:51 -08:00
|
|
|
|
|
|
|
, hostName
|
2006-11-03 16:01:13 -08:00
|
|
|
}:
|
|
|
|
|
|
|
|
genericSubstituter {
|
|
|
|
src = ./boot-stage-2-init.sh;
|
|
|
|
isExecutable = true;
|
2006-11-27 08:26:51 -08:00
|
|
|
inherit shell kernel upstart readOnlyRoot upstartJobs hostName;
|
2006-11-03 16:01:13 -08:00
|
|
|
path = [
|
|
|
|
coreutils
|
2006-11-07 14:05:27 -08:00
|
|
|
findutils
|
2006-11-03 16:01:13 -08:00
|
|
|
utillinux
|
2006-11-07 14:05:27 -08:00
|
|
|
udev
|
2006-11-19 10:16:29 -08:00
|
|
|
upstart
|
2006-11-03 16:01:13 -08:00
|
|
|
];
|
2006-11-04 05:25:10 -08:00
|
|
|
extraPath = path;
|
2006-11-03 16:01:13 -08:00
|
|
|
}
|