forked from mirrors/nixpkgs
aggregateModules: support depmod.d configuration
This commit is contained in:
parent
1af9ccccb0
commit
a0e4ee3111
|
@ -29,7 +29,7 @@ buildEnv {
|
|||
# kernel version number, otherwise depmod will use `uname -r'.
|
||||
if test -w $out/lib/modules/$kernelVersion; then
|
||||
rm -f $out/lib/modules/$kernelVersion/modules.!(builtin*|order*)
|
||||
${kmod}/bin/depmod -b $out -a $kernelVersion
|
||||
${kmod}/bin/depmod -b $out -C $out/etc/depmod.d -a $kernelVersion
|
||||
fi
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue