APPLIED: [Lunar] UBUNTU: [Packaging] Fix module-check error when modules are compressed

Andrea Righi andrea.righi at canonical.com
Mon Jan 16 06:41:28 UTC 2023


On Thu, Jan 12, 2023 at 10:47:27PM +0900, Masahiro Yamada wrote:
> Some parts in the packaging scripts are written based on the assumption
> that module file names always end with the .ko suffix.
> 
> The module suffix might be .ko.gz, .ko.xz, or .ko.zst if module
> compression is enabled.
> 
> If CONFIG_MODULE_COMPRESS_GZIP/XZ/ZSTD is enabled, the module-check
> fails with a lot of "MISS" because currently only files with *.ko
> suffix are picked up.
> 
> Ubuntu kernels do not enable module compression by default, but users
> may tweak CONFIG options when they build their custom kernel.
> 
> Modules are compressed in some distributions, for example in Fedora,
> modules are *.ko.xz.
> 
> Signed-off-by: Masahiro Yamada <masahiro.yamada at canonical.com>

Applied to lunar/linux and lunar/linux-unstable.

Thanks,
-Andrea



More information about the kernel-team mailing list