nvidia-container-toolkit/internal
Evan Lezar 9daa179f25
Add create-soname-symlinks hook
This change adds a create-soname-symlinks hook that can be used to ensure
that the soname symlinks for injected libraries exist in a container.

This is done by calling ldconfig -n -N for the folders containing the injected
libraries.

This also ensures that libcuda.so is present in the ldcache when the update-ldcache
hook is run.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-02-28 14:45:06 +02:00
..
config Add disable-cuda-compat-lib-hook feature flag 2025-02-27 15:58:15 +02:00
cuda Fix build and test on darwin 2024-02-05 23:58:28 +01:00
discover Add create-soname-symlinks hook 2025-02-28 14:45:06 +02:00
dxcore Use D3DKMTEnumAdapters3 for adapter enumeration 2024-03-12 11:42:08 +01:00
edits run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
info Bump github.com/NVIDIA/go-nvlib to v0.5.0 2024-05-28 13:28:28 +02:00
ldcache Read ldcache at construction instead of on each locate call 2024-10-24 23:12:58 +02:00
logger Add Tracef to logger Interface 2024-07-01 12:12:38 +02:00
lookup Merge pull request #773 from elezar/fix-libcuda-symlink 2024-11-07 17:41:20 +01:00
modifier Add disable-cuda-compat-lib-hook feature flag 2025-02-27 15:58:15 +02:00
nvcaps Correct constructin of MIG Caps 2022-10-13 14:06:30 +02:00
nvsandboxutils Fix incompatible pointer conversion 2024-09-25 16:40:43 -07:00
oci Rename test folder to tests 2025-01-23 11:46:14 +01:00
platform-support Rename test folder to tests 2025-01-23 11:46:14 +01:00
requirements Fix unnecessary conversion 2023-10-24 20:11:34 +02:00
runtime Ensure that mode hook is executed last 2025-02-27 15:58:15 +02:00
system Fix create-device-node test when devices exist 2024-12-06 14:05:51 +01:00
test Add test package with GetModuleRoot and PrependToPath function 2022-03-29 11:05:41 +02:00