#960149 kmod: Enable support for gzip compressed kernel modules

Package:
kmod
Source:
kmod
Description:
tools for managing Linux kernel modules
Submitter:
Vagrant Cascadian
Date:
2022-07-04 03:51:04 UTC
Severity:
wishlist
Tags:
#960149#5
Date:
2020-05-09 22:26:56 UTC
From:
To:
Please consider enabling support for gzip compressed modules.

I see xz-compressed modules are supported, which is definitely useful,
but gzip compressed modules are also widely used, and have different CPU
vs. storage space tradeoffs.

Patch attached.

live well,
  vagrant

#960149#10
Date:
2020-06-02 06:12:21 UTC
From:
To:
Updated patch which also adds support for kmod-udeb, which would be
particularly useful in debian-installer.

live well,
  vagrant

#960149#15
Date:
2020-06-02 14:22:34 UTC
From:
To:
No. This was already discussed in #952590, I do not want to add another
dependency to the initramfs.

#960149#20
Date:
2020-06-02 16:41:15 UTC
From:
To:
Control: reopen 960149
Control: tags 960149 wontfix
Control: block 960152 by 960149

And as said in that bug report as well, libz and numerous other
compression libraries are already added with a default initramfs-tools.

$ lsinitramfs /boot/initrd.img-5.6.0-2-arm64 | grep -E 'libz|liblz'
usr/lib/aarch64-linux-gnu/liblz4.so.1
usr/lib/aarch64-linux-gnu/liblz4.so.1.8.3
usr/lib/aarch64-linux-gnu/liblzma.so.5
usr/lib/aarch64-linux-gnu/liblzma.so.5.2.4
usr/lib/aarch64-linux-gnu/liblzo2.so.2
usr/lib/aarch64-linux-gnu/liblzo2.so.2.0.0
usr/lib/aarch64-linux-gnu/libz.so.1
usr/lib/aarch64-linux-gnu/libz.so.1.2.11
usr/lib/aarch64-linux-gnu/libzstd.so.1
usr/lib/aarch64-linux-gnu/libzstd.so.1.3.8

Your argument that only if it uses plymouth doesn't appear to be
correct:

$ dpkg -l '*plymouth*'
dpkg-query: no packages found matching *plymouth*


Given that this issue keeps coming up, I'm reopening and marking it as
"wontfix", and marking which bugs it blocks moving forward.


live well,
  vagrant

#960149#31
Date:
2020-06-03 17:38:21 UTC
From:
To:
...
...

Though after checking on a more minimal system, something other than
plymouth was probably pulling those in... hrm.


live well,
  vagrant

#960149#36
Date:
2022-07-03 11:42:47 UTC
From:
To:
I have enabled zstd support, so there is no point in having gzip as
well.