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;
|
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;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue