fix(kernel): compress kernel modules (different config method)
source:
88746a7943 (diff-764a10a0418846e85912fafd206b2502db65dbbd8c59adc0532b50d05c438d21R993-R998)
This commit is contained in:
parent
3a60edd147
commit
f691c12548
1 changed files with 6 additions and 11 deletions
|
@ -13,17 +13,12 @@ let
|
|||
// {
|
||||
modDirVersion = version;
|
||||
|
||||
kernelPatches = (args.kernelPatches or [ ]) ++ [
|
||||
{
|
||||
name = "compress-kernel-modules";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
MODULE_COMPRESS y
|
||||
MODULE_COMPRESS_ALL y
|
||||
MODULE_COMPRESS_XZ y
|
||||
'';
|
||||
}
|
||||
];
|
||||
structuredExtraConfig = with lib.kernel; {
|
||||
MODULE_COMPRESS = yes;
|
||||
MODULE_COMPRESS_ALL = yes;
|
||||
MODULE_COMPRESS_XZ = yes;
|
||||
};
|
||||
|
||||
extraMeta.branch = lib.versions.majorMinor version;
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue