summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-01 18:18:00 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-01 18:19:24 +0100
commit45c218f893d38f94cd62fc256117b9fb1a0d1749 (patch)
treeed2083eaf654d2c19a7fbbc5cf6354c2c1906c6a /nixos/modules/system/boot/stage-1.nix
parent48f51f118506db271567cc19739bc6e66edb6483 (diff)
downloadnixlib-45c218f893d38f94cd62fc256117b9fb1a0d1749.tar
nixlib-45c218f893d38f94cd62fc256117b9fb1a0d1749.tar.gz
nixlib-45c218f893d38f94cd62fc256117b9fb1a0d1749.tar.bz2
nixlib-45c218f893d38f94cd62fc256117b9fb1a0d1749.tar.lz
nixlib-45c218f893d38f94cd62fc256117b9fb1a0d1749.tar.xz
nixlib-45c218f893d38f94cd62fc256117b9fb1a0d1749.tar.zst
nixlib-45c218f893d38f94cd62fc256117b9fb1a0d1749.zip
initrd: Use modprobe from busybox
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r--nixos/modules/system/boot/stage-1.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 694a5cfb6f85..baa5bf6c69fd 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -66,10 +66,6 @@ let
         copy_bin_and_libs $BIN
       done
 
-      # Copy modprobe.
-      copy_bin_and_libs ${pkgs.kmod}/bin/kmod
-      ln -sf kmod $out/bin/modprobe
-
       # Copy resize2fs if needed.
       ${optionalString (any (fs: fs.autoResize) (attrValues config.fileSystems)) ''
         # We need mke2fs in the initrd.