the ebuild despite I have the config CONFIG_MODULE_COMPRESS_XZ = y does not compress the module in .xz
Modules are handled by the linux-mod eclass, and lack of compression applies to any out-of-tree modules using it. If support were to be added, I'd say it'd have to be there rather than nvidia-drivers.
Is there any reason someone would have CONFIG_MODULE_COMPRESS_XZ set and *not* want an out of tree module compressed? Is it ok to just compress all out of tree modules if CONFIG_MODULE_COMPRESS_XZ is set? Is that a reasonable assumption ?
*** Bug 850133 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee74b9fca1b5237299ee08fd041997e7271304a commit eee74b9fca1b5237299ee08fd041997e7271304a Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-06-11 18:59:34 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-06-11 18:59:34 +0000 linux-mod.eclass: Support module compression The Linux kernel supports the compression of modules utilizing GZIP, XZ and ZSTD. Add support into linux-mod.eclass to support this for out of tree modules utilizing the compression binary specified in the kernel config. Note that if the binary which provides the compression is not present on the system the kernel would have failed to build with an error indicating the missing binaries name. Closes: https://bugs.gentoo.org/850130 Signed-off-by: Mike Pagano <mpagano@gentoo.org> eclass/linux-mod.eclass | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)