nvidia-container-toolkit/pkg/nvcdi
Jared Baur 838493b8b9
Allow for customizing the path to ldconfig
Since the `createContainer` `runc` hook runs with the environment that
the container's config.json specifies, the path to `ldconfig` may not be
easily resolvable if the host environment differs enough from the
container (e.g. on a NixOS host where all binaries are under hashed
paths in /nix/store with an Ubuntu container whose PATH contains
FHS-style paths such as /bin and /usr/bin). This change allows for
specifying exactly where ldconfig comes from.

Signed-off-by: Jared Baur <jaredbaur@fastmail.com>
2024-01-17 21:07:00 -08:00
..
spec run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
transform run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
api.go Add GetDeviceSpecsByID() API to the nvcdi Interface 2023-12-06 09:02:19 -08:00
common-nvml.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
device-wsl.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
driver-nvml.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
driver-wsl_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
driver-wsl.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
full-gpu-nvml.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
gds.go Add GetDeviceSpecsByID() API to the nvcdi Interface 2023-12-06 09:02:19 -08:00
lib_test.go
lib-csv.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
lib-nvml.go Update to github.com/NVIDIA/go-nvlib@f3264c8a6a7a 2023-12-13 10:08:14 -08:00
lib-wsl.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
lib.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
management.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
mig-device-nvml.go Use devRoot to resolve MIG device nodes 2024-01-09 15:40:17 +01:00
mofed.go Add GetDeviceSpecsByID() API to the nvcdi Interface 2023-12-06 09:02:19 -08:00
namer_nvml_mock.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
namer_test.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
namer.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
options.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
workarounds-device-folder-permissions.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00