From 81c8ffec6e3f587993081be4d64cda604f6aa61d Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 5 Dec 2024 23:21:58 -0500 Subject: [PATCH] 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 --- 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 f8a45c607dfde..4e5b17548b046 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 )