mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-06 03:27:17 +03:00
Merge pull request #145 from thefloweringash/use-pkgs-kmod
initrd: use pkgs.kmod for modprobe instead of busybox
This commit is contained in:
commit
81cbda8444
@ -171,6 +171,10 @@ let
|
|||||||
inherit udev;
|
inherit udev;
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
|
# Copy modprobe.
|
||||||
|
copy_bin_and_libs ${pkgs.kmod}/bin/kmod
|
||||||
|
ln -sf kmod $out/bin/modprobe
|
||||||
|
|
||||||
# Copy udev.
|
# Copy udev.
|
||||||
copy_bin_and_libs ${udev}/bin/udevadm
|
copy_bin_and_libs ${udev}/bin/udevadm
|
||||||
for BIN in ${udev}/lib/udev/*_id; do
|
for BIN in ${udev}/lib/udev/*_id; do
|
||||||
|
Loading…
Reference in New Issue
Block a user