Bug#953879: libnl-genl-3-200-udeb: library wrongly shipped in the multiarch path
Source: libnl3
Version: 3.4.0-2
Severity: normal
Tags: patch
libnl-genl-3-200-udeb ships the libnl-genl-3.so.200 library in the
multiarch path:
| $ dpkg -c libnl-genl-3-200-udeb_3.4.0-1+b1_amd64.udeb
| drwxr-xr-x root/root 0 2019-08-18 13:08 ./
| drwxr-xr-x root/root 0 2019-08-18 13:08 ./lib/
| drwxr-xr-x root/root 0 2019-08-18 13:08 ./lib/x86_64-linux-gnu/
| -rw-r--r-- root/root 28072 2019-08-18 13:08 ./lib/x86_64-linux-gnu/libnl-genl-3.so.200.26.0
| lrwxrwxrwx root/root 0 2019-08-18 13:08 ./lib/x86_64-linux-gnu/libnl-genl-3.so.200 -> libnl-genl-3.so.200.26.0
udeb packages should ship the library in the non-multiarch path, i.e.
/lib or /usr/lib. Otherwise this causes mklibs to fetch the library from
the system instead of the udeb and increases the size of d-i image
(although compression helps a bit there). This also prevent the removal
of mklibs from d-i, which we will eventually want to do.
The patch below fixes the issue. Would it be possible to include it in
the next upload?
Thanks,
Aurelien
--- libnl3-3.4.0/debian/libnl-genl-3-200-udeb.install
+++ libnl3-3.4.0/debian/libnl-genl-3-200-udeb.install
@@ -1,2 +1,2 @@
#!/usr/bin/dh-exec
-usr/lib/${DEB_HOST_MULTIARCH}/libnl-genl-3.so.* lib/${DEB_HOST_MULTIARCH}/
+usr/lib/${DEB_HOST_MULTIARCH}/libnl-genl-3.so.* lib/
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: