TBS: fix modules

The customized modules need to be xz compressed so that they are
loaded instead of the default modules
This commit is contained in:
Cillian de Róiste 2018-09-29 09:32:37 +01:00
parent 13b2903169
commit 85c236f7f0

View File

@ -49,8 +49,7 @@ in stdenv.mkDerivation {
++ kernel.moduleBuildDependencies;
postInstall = ''
xz $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/media/dvb-core/dvb-core.ko
xz $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/media/v4l2-core/videodev.ko
find $out/lib/modules/${kernel.modDirVersion} -name "*.ko" -exec xz {} \;
'';
meta = with lib; {