aggregateModules: support depmod.d configuration

This commit is contained in:
Gabriel Ebner 2019-11-03 10:57:29 +01:00
parent 1af9ccccb0
commit a0e4ee3111

View File

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