linux/kernel/manual-config: Run depmod after build

This commit is contained in:
Shea Levy 2012-07-29 04:01:40 -04:00
parent 4f713d27f7
commit 6e3b17feec
2 changed files with 3 additions and 2 deletions

View File

@ -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 = ''

View File

@ -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 { };