Comment 15 for bug 2022088

Revision history for this message
Steve Langasek (vorlon) wrote :

The upload in the queue for jammy has some surprising changes:

--- opencryptoki-3.17.0+dfsg+20220202.b40982e/debian/libopencryptoki0.links 2022-02-15 08:02:48.000000000 +0000
+++ opencryptoki-3.17.0+dfsg+20220202.b40982e/debian/libopencryptoki0.links 2022-02-15 08:02:48.000000000 +0000
@@ -1,4 +1,7 @@
 #! /usr/bin/dh-exec
-usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_sw.so.0 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_sw.so
+/usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_sw.so.0 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_sw.so
 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_tpm.so.0 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_tpm.so
 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_cca.so.0 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_cca.so
+usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_ep11.so.0 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_ep11.so
+usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_ica.so.0 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_ica.so
+usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_icsf.so.0 usr/lib/${DEB_HOST_MULTIARCH}/libpkcs11_icsf.so

Why would you have a leading / for some of the link targets and not others?

Probably the first line of this diff should be reverted. It does match what was in the .s390x file before which is probably where this came from. But since the leading / is optional in dh_link syntax, I think it's better to leave the line as it was and consistent with the rest of the file.