commit:     81c8ffec6e3f587993081be4d64cda604f6aa61d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  6 04:21:58 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 05:10:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c8ffec

linux-mod-r1.eclass: pass COMPRESS_ALL= in MAKEARGS usable in >=6.12

Technically a no-op so quick-adding without review. It could mean
something if the kernel adds new compression methods in the future
(_ALL ensures everything is disabled rather than have to list each
of them, which is what we want there).

When the day comes when we drop support for <=6.12 kernels or the
change was backported (if ever) for long enough, we could cleanup
passing COMRESS_GZIP/XZ/ZSTD there and only keep _ALL.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 eclass/linux-mod-r1.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
index f8a45c607dfd..4e5b17548b04 100644
--- a/eclass/linux-mod-r1.eclass
+++ b/eclass/linux-mod-r1.eclass
@@ -1263,7 +1263,8 @@ _modules_set_makeargs() {
                # these are only needed if using these arguments for 
installing, lets
                # eclass handle strip, sign, compress, and depmod (CONFIG_ 
should
                # have no impact on building, only used by Makefile.modinst)
-               CONFIG_MODULE_{SIG_ALL,COMPRESS_{GZIP,XZ,ZSTD}}=
+               # note: COMPRESS_ALL is enough for kernel >=6.12, rest is for 
compat
+               CONFIG_MODULE_{SIG_ALL,COMPRESS_{ALL,GZIP,XZ,ZSTD}}=
                DEPMOD=true #916587
                STRIP=true
        )

Reply via email to