Public bug reported:
Ubuntu builds the kernel with zstd compression for modules enabled. The
dh_installmodules script has a regexp for kernel module filenames which
works for uncompressed, gz, xz, and bz2 modules but not zstd compressed
modules. The .zst extension needs added to the regexp.
diff --git a/dh_installmodules b/dh_installmodules
index c349f49..d5b5f6c 100755
--- a/dh_installmodules
+++ b/dh_installmodules
@@ -73,7 +73,7 @@ sub find_kernel_modules {
return unless -d $searchdir;
find(sub {
- if (m/ [.]k?o (?:[.](?:[gx]z|bz2))? $/x) {
+ if (m/ [.]k?o (?:[.](?:[gx]z|bz2|zst))? $/x) {
my ($kvers)=$File::Find::dir=~m!lib/modules/([^/]+)/!;
if (! defined $kvers || ! length $kvers) {
warning("Cannot determine kernel version for
module $File::Find::name");
** Affects: debhelper (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166060
Title:
dh_installmodules doesn't support .ko.zst files
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/2166060/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs