mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
c3a527ae22dadc00ebee74a72aae5a295e26a5d5
Upstream commit [1] introduces several changes to the way module compression is configured. To summarize: - CONFIG_MODULE_COMPRESS_NONE is renamed to CONFIG_MODULE_COMPRESS and moved up, this (and CONFIG_MODULE_COMPRESS_<type>) control support for module compression. - A new switch CONFIG_MODULE_COMPRESS_ALL is introduced to control whether the modules are actually compressed when running make modules_install. This change introduced several problems that are fixed here: - CONFIG_MODULE_COMPRESS is not implicitly enabled by setting CONFIG_MODULE_COMPRESS_XZ=y in the same way that CONFIG_MODULE_COMPRESS_NONE was previously implicitly disabled by enabling the xz compression. Fixed by explicitly enabling these options. - The dist-kernel_get_module_suffix() function did not recognize the renamed option which caused the 'compressor not known' error in some configurations. Fixed by adding another condition to the elif statement in this function. Furthermore, we now also set the switch CONFIG_MODULE_COMPRESS_ALL based on the state of the "modules-compress" USE flag. This technically makes the "suffix-y" override unnecessary for the >=6.12 kernels, but it does no harm so let's keep that as it is and not add a new version conditional here. [1] https://github.com/torvalds/linux/commit/c7ff693fa2094ba0a9d0a20feb4ab1658eff9c33 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/39609 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
97.9%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%