2006-12-09 11:25:23 -08:00
|
|
|
{ genericSubstituter, shell, coreutils, findutils
|
|
|
|
, gnugrep, utillinux, kernel, udev, upstart
|
|
|
|
, activateConfiguration
|
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-03 16:01:13 -08:00
|
|
|
}:
|
|
|
|
|
2006-11-28 08:47:14 -08:00
|
|
|
let
|
|
|
|
|
|
|
|
startPath = [
|
2006-11-03 16:01:13 -08:00
|
|
|
coreutils
|
2006-11-07 14:05:27 -08:00
|
|
|
findutils
|
2006-12-08 16:06:18 -08:00
|
|
|
gnugrep
|
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-28 08:47:14 -08:00
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
genericSubstituter {
|
|
|
|
src = ./boot-stage-2-init.sh;
|
|
|
|
isExecutable = true;
|
2006-12-09 11:25:23 -08:00
|
|
|
inherit shell kernel upstart readOnlyRoot activateConfiguration;
|
2006-11-28 08:47:14 -08:00
|
|
|
inherit startPath;
|
2006-11-03 16:01:13 -08:00
|
|
|
}
|