From 693c730330578653f600f82aa8fac4fbb0c127fa 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.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.install b/debian/libnvidia-compute-535.install index 5f468f104..f225513e8 100644 --- a/debian/libnvidia-compute-535.install +++ b/debian/libnvidia-compute-535.install @@ -1,4 +1,4 @@ -NVIDIA-Linux/libnvidia-pkcs11-openssl3.so.535.161.07 usr/lib/x86_64-linux-gnu +NVIDIA-Linux/libnvidia-pkcs11*.so.535.161.07 usr/lib/x86_64-linux-gnu NVIDIA-Linux/libcuda.so.535.161.07 usr/lib/x86_64-linux-gnu NVIDIA-Linux/libcudadebugger.so.535.161.07 usr/lib/x86_64-linux-gnu NVIDIA-Linux/libnvidia-ml.so.535.161.07 usr/lib/x86_64-linux-gnu diff --git a/debian/rules b/debian/rules index 83ffa9447..0532a05c3 100755 --- a/debian/rules +++ b/debian/rules @@ -178,7 +178,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.so override_dh_installsystemd: diff --git a/debian/templates/libnvidia-compute-flavour.install.in b/debian/templates/libnvidia-compute-flavour.install.in index 370c33c54..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-openssl3.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#