Message ID | 20230726192453.986665-2-dimitri.ledkov@canonical.com |
---|---|
State | New |
Headers | show |
Series | Enable zstd compressed modules | expand |
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst index 647d2b0bae..c2482c119f 100644 --- a/scripts/Makefile.modinst +++ b/scripts/Makefile.modinst @@ -24,7 +24,9 @@ $(foreach x, % :, $(if $(findstring $x, $(dst)), \ suffix-y := suffix-$(CONFIG_MODULE_COMPRESS_GZIP) := .gz suffix-$(CONFIG_MODULE_COMPRESS_XZ) := .xz -suffix-$(CONFIG_MODULE_COMPRESS_ZSTD) := .zst +## UBUNTU: Support, but do not require zstd compressed modules +# Many external dkms and signing rely on uncompressed modules +# suffix-$(CONFIG_MODULE_COMPRESS_ZSTD) := .zst modules := $(patsubst $(extmod_prefix)%.o, $(dst)/%.ko$(suffix-y), $(modules))
During build and install of kernel tree modules are read and copied multiple times around. Similarly, many external dkms packages are built signed and passed around. Those external tools do not support handling compressed module, or cannot process them directly for example for signing. BugLink: https://bugs.launchpad.net/bugs/2028568 Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> --- scripts/Makefile.modinst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)