nvidia-container-toolkit/internal
Evan Lezar bdfaea4e9e
Some checks failed
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
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-03-20 14:54:20 +02:00
..
config Move resolution of host LDConfig to config package 2025-03-20 13:23:59 +02:00
cuda Fix build and test on darwin 2024-02-05 23:58:28 +01:00
discover Add create-soname-symlinks hook 2025-03-20 14:54:20 +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 [no-relnotes] Update moq to use rm and goimports 2025-03-12 13:12:13 +02:00
ldcache [no-relnotes] Update moq to use rm and goimports 2025-03-12 13:12:13 +02:00
logger Add Tracef to logger Interface 2024-07-01 12:12:38 +02:00
lookup [no-relnotes] Update moq to use rm and goimports 2025-03-12 13:12:13 +02: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 [no-relnotes] Update moq to use rm and goimports 2025-03-12 13:12:13 +02:00
oci Move CreateLdsoconfdFile to ContainerRoot 2025-03-20 13:21:52 +02:00
platform-support Rename test folder to tests 2025-01-23 11:46:14 +01:00
requirements [no-relnotes] Update moq to use rm and goimports 2025-03-12 13:12:13 +02:00
runtime Ensure that mode hook is executed last 2025-02-27 15:58:15 +02:00
safe-exec Move SafeExec logic to internal safeexec package 2025-03-20 13:22:55 +02:00
system [no-relnotes] Update moq to use rm and goimports 2025-03-12 13:12:13 +02:00
test