* The loopback device is in a module now. Since it's not
automatically loaded by the kernel, load it at boot time. * Put the ext2 module (which used to be built in) in the initrd to prevent unexpected breakage. svn path=/nixos/trunk/; revision=18963
This commit is contained in:
parent
3f2348ef91
commit
d6108919b1
1 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,7 @@ let
|
|||
"ide_generic"
|
||||
|
||||
# Filesystems.
|
||||
"ext3"
|
||||
"ext2" "ext3"
|
||||
|
||||
# Support USB keyboards, in case the boot fails and we only have
|
||||
# a USB keyboard.
|
||||
|
@ -171,6 +171,8 @@ in
|
|||
system.build = { inherit kernel; };
|
||||
system.modulesTree = [ kernel ] ++ config.boot.extraModulePackages;
|
||||
|
||||
boot.kernelModules = [ "loop" ];
|
||||
|
||||
# The Linux kernel >= 2.6.27 provides firmware.
|
||||
hardware.firmware = [ "${kernel}/lib/firmware" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue