Control: severity -1 serious Hello Marco,
you brought this bug up on #debian-arm. It was there discovered, that the current implementation is broken on multiarch systems, for example amd64 + i386, which seems popular. On such installs, users can end up with the wrong liblzma.so.5.x.y in the initramfs. On Mon, May 12, 2025 at 10:40:32AM -0500, Steev Klimaszewski wrote: > 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 {} \; Instead of doing workarounds, the probably *best* way is to interpolate $(DEB_HOST_MULTIARCH) at build-time of the kmod debian package into debian/kmod.initramfs-hook. So that this: copy_exec /usr/lib/*-linux-gnu/liblzma.so.5 becomes during build time: copy_exec /usr/lib/amd64-linux-gnu/liblzma.so.5 Including /usr/share/dpkg/architecture.mk in d/rules should make DEB_HOST_MULTIARCH available. I hope this is enough info for you to figure out the nitty gritty details. Best, Chris