From f2444696af1538fcc72152045103c43bc3fda4f6 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 13 Feb 2024 13:40:13 +0000 Subject: [PATCH] Install all ABI builds of the libnvidia-pkcs11 plugin for host/container compatibility. LP: #2052967 Fixes #64 Signed-off-by: Dimitri John Ledkov --- debian/libnvidia-compute-535-server.install | 2 +- debian/rules | 2 +- debian/templates/libnvidia-compute-flavour.install.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/libnvidia-compute-535-server.install b/debian/libnvidia-compute-535-server.install index 9461f335f..426ba7e58 100644 --- a/debian/libnvidia-compute-535-server.install +++ b/debian/libnvidia-compute-535-server.install @@ -1,4 +1,4 @@ -NVIDIA-Linux/libnvidia-pkcs11.so.535.154.05 usr/lib/x86_64-linux-gnu +NVIDIA-Linux/libnvidia-pkcs11*.so.535.154.05 usr/lib/x86_64-linux-gnu NVIDIA-Linux/libcuda.so.535.154.05 usr/lib/x86_64-linux-gnu NVIDIA-Linux/libcudadebugger.so.535.154.05 usr/lib/x86_64-linux-gnu NVIDIA-Linux/libnvidia-ml.so.535.154.05 usr/lib/x86_64-linux-gnu diff --git a/debian/rules b/debian/rules index 8f5ad4288..83f4dd040 100755 --- a/debian/rules +++ b/debian/rules @@ -184,7 +184,7 @@ override_dh_installinit: dh_installinit --noscripts override_dh_shlibdeps: - LD_LIBRARY_PATH=/$(libdir):$(LD_LIBRARY_PATH) dh_shlibdeps + LD_LIBRARY_PATH=/$(libdir):$(LD_LIBRARY_PATH) dh_shlibdeps -Xlibnvidia-pkcs11-openssl3.so # Do not run dh_strip here. The NVIDIA license says: # diff --git a/debian/templates/libnvidia-compute-flavour.install.in b/debian/templates/libnvidia-compute-flavour.install.in index 4cd9310d8..b841308c8 100644 --- a/debian/templates/libnvidia-compute-flavour.install.in +++ b/debian/templates/libnvidia-compute-flavour.install.in @@ -1,4 +1,4 @@ -#AMD64_ONLY#NVIDIA-Linux/libnvidia-pkcs11.so.#VERSION# #LIBDIR# +#AMD64_ONLY#NVIDIA-Linux/libnvidia-pkcs11*.so.#VERSION# #LIBDIR# #I386_EXCLUDED#NVIDIA-Linux/libcuda.so.#VERSION# #LIBDIR# #I386_EXCLUDED#NVIDIA-Linux/libcudadebugger.so.#VERSION# #LIBDIR# #I386_EXCLUDED#NVIDIA-Linux/libnvidia-ml.so.#VERSION# #LIBDIR#