2006-12-10 22:29:44 +00:00
|
|
|
{ substituteAll, coreutils
|
|
|
|
, utillinux, kernel, udev, upstart
|
2006-12-09 19:25:23 +00:00
|
|
|
, activateConfiguration
|
2006-11-13 11:41:27 +00:00
|
|
|
|
|
|
|
, # Whether the root device is root only. If so, we'll mount a
|
|
|
|
# ramdisk on /etc, /var and so on.
|
|
|
|
readOnlyRoot
|
2006-12-10 22:29:44 +00:00
|
|
|
|
|
|
|
, # Path for Upstart jobs. Should be quite minimal.
|
|
|
|
upstartPath
|
2006-11-04 00:01:13 +00:00
|
|
|
}:
|
|
|
|
|
2006-11-28 16:47:14 +00:00
|
|
|
let
|
|
|
|
|
|
|
|
startPath = [
|
2006-11-04 00:01:13 +00:00
|
|
|
coreutils
|
|
|
|
utillinux
|
2006-11-07 22:05:27 +00:00
|
|
|
udev
|
2006-11-19 18:16:29 +00:00
|
|
|
upstart
|
2006-11-04 00:01:13 +00:00
|
|
|
];
|
2006-11-28 16:47:14 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
|
2006-12-10 22:29:44 +00:00
|
|
|
substituteAll {
|
2006-11-28 16:47:14 +00:00
|
|
|
src = ./boot-stage-2-init.sh;
|
|
|
|
isExecutable = true;
|
2006-12-10 22:29:44 +00:00
|
|
|
inherit kernel upstart readOnlyRoot activateConfiguration upstartPath;
|
2006-11-28 16:47:14 +00:00
|
|
|
inherit startPath;
|
2006-11-04 00:01:13 +00:00
|
|
|
}
|