nvidia-container-toolkit/internal/discover
Evan Lezar 4bf7421a80
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 directories 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-06-24 13:49:24 +02:00
..
cache.go
char_devices_test.go
char_devices.go
compat_libs.go
discover_mock.go
discover.go
filter.go
first-valid.go
gdrcopy.go
gds.go
graphics_test.go
graphics.go Add discovery of arch-specific vulkan ICD 2025-06-04 23:06:16 +02:00
hooks.go Add create-soname-symlinks hook 2025-06-24 13:49:24 +02:00
ipc_test.go
ipc.go
ldconfig_test.go Add create-soname-symlinks hook 2025-06-24 13:49:24 +02:00
ldconfig.go Add create-soname-symlinks hook 2025-06-24 13:49:24 +02:00
list.go
mofed.go
mounts_test.go
mounts-to-container-path_test.go
mounts-to-container-path.go
mounts.go
none_test.go
none.go
nvswitch.go
symlinks_test.go
symlinks.go