Revert "initrd: Use modprobe from busybox"
This reverts commit 45c218f893
.
Busybox's modprobe causes numerous "Unknown symbol" errors in the
kernel log, even though the modules do appear to load correctly.
This commit is contained in:
parent
7dd90837b1
commit
f2af8874e8
@ -67,6 +67,10 @@ let
|
|||||||
copy_bin_and_libs $BIN
|
copy_bin_and_libs $BIN
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Copy modprobe.
|
||||||
|
copy_bin_and_libs ${pkgs.kmod}/bin/kmod
|
||||||
|
ln -sf kmod $out/bin/modprobe
|
||||||
|
|
||||||
# Copy resize2fs if needed.
|
# Copy resize2fs if needed.
|
||||||
${optionalString (any (fs: fs.autoResize) (attrValues config.fileSystems)) ''
|
${optionalString (any (fs: fs.autoResize) (attrValues config.fileSystems)) ''
|
||||||
# We need mke2fs in the initrd.
|
# We need mke2fs in the initrd.
|
||||||
|
Loading…
Reference in New Issue
Block a user