1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-11 09:04:01 +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:
Samuel Dionne-Riel 2023-09-15 15:04:13 -04:00 committed by GitHub
commit 81cbda8444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,10 @@ let
inherit udev;
in
''
# Copy modprobe.
copy_bin_and_libs ${pkgs.kmod}/bin/kmod
ln -sf kmod $out/bin/modprobe
# Copy udev.
copy_bin_and_libs ${udev}/bin/udevadm
for BIN in ${udev}/lib/udev/*_id; do