Revert "initrd: Use modprobe from busybox"
This reverts commit 45c218f893d38f94cd62fc256117b9fb1a0d1749.
Busybox's modprobe causes numerous "Unknown symbol" errors in the
kernel log, even though the modules do appear to load correctly.
commitf2af8874e8fa2265d1847d8fec9cc271de7f2efa
authorEelco Dolstra <eelco.dolstra@logicblox.com>
dateFri 1 Apr 2016, 17:30 (11 years ago)
parent7dd9083
nixos/modules/system/boot/stage-1.nix+4
@@ -67,6 +67,10 @@ let
6767 copy_bin_and_libs $BIN
6868 done
6969
70+ # Copy modprobe.
71+ copy_bin_and_libs ${pkgs.kmod}/bin/kmod
72+ ln -sf kmod $out/bin/modprobe
73+
7074 # Copy resize2fs if needed.
7175 ${optionalString (any (fs: fs.autoResize) (attrValues config.fileSystems)) ''
7276 # We need mke2fs in the initrd.