Package: kmod
Version: 34.2-2
Followup-For: Bug #1103478
User: [email protected]
Usertags: origin-kali
Dear Maintainer,
The fix for this is incomplete, and breaks initramfs generation for
architectures that do not end in linux-gnu.
One one of those systems, it is not quickly apparent what the issue is as you
simply get the following output during initramfs generation:
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
The problem is that for example, on armel or armhf, the multiarch directory
exist as /usr/lib/arm-linux-gnueabi for armel, and /usr/lib/arm-linux-gnueabihf
as armhf, and we only glob at the start, not the ending.
One potential workaround is to add a glob at the end ala '*-linux-gnu*' but
another could be to use a find on /usr/lib something like
find /usr/lib/ -path "*/liblzma.so.5" -type f -exec copy_exec {} \;
I do not know how that would work on a system that actually does have
multiple architectures installed but I would assume it would copy in all of
the enabled architecture's liblzma.so.5 files.
I think the double glob would be the fastest fix, even if it does seem
inelegant.
--steev
Versions of packages kmod depends on:
ii libc6 2.41-6
ii libkmod2 34.2-2
ii libssl3t64 3.5.0-1
kmod recommends no packages.
kmod suggests no packages.
-- no debconf information