fix(kernel): compress kernel modules (different config method)

source:
88746a7943 (diff-764a10a0418846e85912fafd206b2502db65dbbd8c59adc0532b50d05c438d21R993-R998)
This commit is contained in:
steveej 2024-10-11 22:37:09 +02:00
parent 3a60edd147
commit f691c12548

View file

@ -13,17 +13,12 @@ let
// { // {
modDirVersion = version; modDirVersion = version;
kernelPatches = (args.kernelPatches or [ ]) ++ [ structuredExtraConfig = with lib.kernel; {
{ MODULE_COMPRESS = yes;
name = "compress-kernel-modules"; MODULE_COMPRESS_ALL = yes;
patch = null; MODULE_COMPRESS_XZ = yes;
extraConfig = '' };
MODULE_COMPRESS y
MODULE_COMPRESS_ALL y
MODULE_COMPRESS_XZ y
'';
}
];
extraMeta.branch = lib.versions.majorMinor version; extraMeta.branch = lib.versions.majorMinor version;
} }
); );