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 }:
|
{ version, modDirVersion ? version, src, patches ? [], config }:
|
||||||
|
|
||||||
@ -62,6 +62,7 @@ stdenv.mkDerivation ({
|
|||||||
echo "stripping FHS paths in \`$mf'..."
|
echo "stripping FHS paths in \`$mf'..."
|
||||||
sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g'
|
sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g'
|
||||||
done
|
done
|
||||||
|
sed -i -e 's|/sbin/depmod|${kmod}/sbin/depmod|' Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -5858,7 +5858,7 @@ let
|
|||||||
|
|
||||||
# A function to build a manually-configured kernel
|
# A function to build a manually-configured kernel
|
||||||
linuxManualConfig = import ../os-specific/linux/kernel/manual-config.nix {
|
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 { };
|
keyutils = callPackage ../os-specific/linux/keyutils { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user