nvidia-container-toolkit/cmd/nvidia-cdi-hook/create-soname-symlinks
Evan Lezar 0a6d383bcc
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-06-17 19:54:18 +02:00
..
ldconfig_linux.go Add create-soname-symlinks hook 2025-06-17 19:54:18 +02:00
ldconfig_other.go Add create-soname-symlinks hook 2025-06-17 19:54:18 +02:00
safe-exec_linux.go Add create-soname-symlinks hook 2025-06-17 19:54:18 +02:00
safe-exec_other.go Add create-soname-symlinks hook 2025-06-17 19:54:18 +02:00
soname-symlinks.go Add create-soname-symlinks hook 2025-06-17 19:54:18 +02:00