mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
linux/kernel/manual-config: Run depmod after build
This commit is contained in:
parent
4f713d27f7
commit
6e3b17feec
@ -1,4 +1,4 @@
|
||||
{ stdenv, runCommand, nettools, perl }:
|
||||
{ stdenv, runCommand, nettools, perl, kmod }:
|
||||
|
||||
{ version, modDirVersion ? version, src, patches ? [], config }:
|
||||
|
||||
@ -62,6 +62,7 @@ stdenv.mkDerivation ({
|
||||
echo "stripping FHS paths in \`$mf'..."
|
||||
sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g'
|
||||
done
|
||||
sed -i -e 's|/sbin/depmod|${kmod}/sbin/depmod|' Makefile
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
|
@ -5858,7 +5858,7 @@ let
|
||||
|
||||
# A function to build a manually-configured kernel
|
||||
linuxManualConfig = import ../os-specific/linux/kernel/manual-config.nix {
|
||||
inherit stdenv runCommand nettools perl;
|
||||
inherit stdenv runCommand nettools perl kmod;
|
||||
};
|
||||
|
||||
keyutils = callPackage ../os-specific/linux/keyutils { };
|
||||
|
Loading…
Reference in New Issue
Block a user