git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #10417 from puffnfresh/nixos/mmc_block

initrd: add mmc_block to default available modules

commit0ee88cffca0dbc428501b7920c3b2bfe011a6420 authorRobin Gloster <mail@glob.in> dateMon 8 Feb 2016, 23:51 (11 years ago) parent4faeca0fda9d83
3 files changed+5−3
nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix+1−2 nixos/modules/installer/cd-dvd/system-tarball.nix+1−1 nixos/modules/system/boot/kernel.nix+3
nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix+1−2
@@ -86,8 +86,7 @@ in
8686 system.boot.loader.kernelFile = "uImage";
8787
8888 boot.initrd.availableKernelModules =
89− [ "mvsdio" "mmc_block" "reiserfs" "ext3" "ums-cypress" "rtc_mv"
90− "ext4" ];
89+ [ "mvsdio" "reiserfs" "ext3" "ums-cypress" "rtc_mv" "ext4" ];
9190
9291 boot.postBootCommands =
9392 ''
nixos/modules/installer/cd-dvd/system-tarball.nix+1−1
@@ -43,7 +43,7 @@ in
4343 # so that we don't need to know its device.
4444 fileSystems = [ ];
4545
46− # boot.initrd.availableKernelModules = [ "mvsdio" "mmc_block" "reiserfs" "ext3" "ext4" ];
46+ # boot.initrd.availableKernelModules = [ "mvsdio" "reiserfs" "ext3" "ext4" ];
4747
4848 # boot.initrd.kernelModules = [ "rtc_mv" ];
4949
nixos/modules/system/boot/kernel.nix+3
@@ -184,6 +184,9 @@ in
184184 "ide_disk"
185185 "ide_generic"
186186
187+ # SD cards and internal eMMC drives.
188+ "mmc_block"
189+
187190 # Support USB keyboards, in case the boot fails and we only have
188191 # a USB keyboard.
189192 "uhci_hcd"