2006-12-09 20:25:23 +01:00
|
|
|
{ genericSubstituter, shell, coreutils, findutils
|
|
|
|
, gnugrep, utillinux, kernel, udev, upstart
|
|
|
|
, activateConfiguration
|
2006-11-13 12:41:27 +01:00
|
|
|
|
|
|
|
, # Whether the root device is root only. If so, we'll mount a
|
|
|
|
# ramdisk on /etc, /var and so on.
|
|
|
|
readOnlyRoot
|
2006-11-04 01:01:13 +01:00
|
|
|
}:
|
|
|
|
|
2006-11-28 17:47:14 +01:00
|
|
|
let
|
|
|
|
|
|
|
|
startPath = [
|
2006-11-04 01:01:13 +01:00
|
|
|
coreutils
|
2006-11-07 23:05:27 +01:00
|
|
|
findutils
|
2006-12-09 01:06:18 +01:00
|
|
|
gnugrep
|
2006-11-04 01:01:13 +01:00
|
|
|
utillinux
|
2006-11-07 23:05:27 +01:00
|
|
|
udev
|
2006-11-19 19:16:29 +01:00
|
|
|
upstart
|
2006-11-04 01:01:13 +01:00
|
|
|
];
|
2006-11-28 17:47:14 +01:00
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
genericSubstituter {
|
|
|
|
src = ./boot-stage-2-init.sh;
|
|
|
|
isExecutable = true;
|
2006-12-09 20:25:23 +01:00
|
|
|
inherit shell kernel upstart readOnlyRoot activateConfiguration;
|
2006-11-28 17:47:14 +01:00
|
|
|
inherit startPath;
|
2006-11-04 01:01:13 +01:00
|
|
|
}
|