2006-11-07 23:05:27 +01:00
|
|
|
{ genericSubstituter, shell, coreutils, findutils
|
|
|
|
, utillinux, kernel, sysklogd, mingetty, udev
|
2006-11-07 23:45:42 +01:00
|
|
|
, module_init_tools, nettools, dhcp
|
2006-11-06 23:21:50 +01:00
|
|
|
, path ? []
|
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
|
|
|
}:
|
|
|
|
|
|
|
|
genericSubstituter {
|
|
|
|
src = ./boot-stage-2-init.sh;
|
|
|
|
isExecutable = true;
|
2006-11-13 12:41:27 +01:00
|
|
|
inherit shell kernel sysklogd mingetty readOnlyRoot;
|
2006-11-04 01:01:13 +01:00
|
|
|
path = [
|
|
|
|
coreutils
|
2006-11-07 23:05:27 +01:00
|
|
|
findutils
|
2006-11-04 01:01:13 +01:00
|
|
|
utillinux
|
2006-11-07 23:05:27 +01:00
|
|
|
udev
|
|
|
|
module_init_tools
|
2006-11-07 23:45:42 +01:00
|
|
|
nettools
|
|
|
|
dhcp
|
2006-11-04 01:01:13 +01:00
|
|
|
];
|
2006-11-04 14:25:10 +01:00
|
|
|
extraPath = path;
|
2006-11-04 01:01:13 +01:00
|
|
|
}
|