UBUNTU: SAUCE: Support but do not require compressed 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> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
57861dbb15
commit
14463ba6a4
@@ -53,7 +53,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))
|
||||
install-$(CONFIG_MODULES) += $(modules)
|
||||
|
||||
Reference in New Issue
Block a user