nvidia-container-toolkit/internal
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
..
config Add crun as a default low-level runtime. 2024-01-17 11:31:07 +01:00
cuda Add CUDA ComputeCapability function 2022-05-05 14:09:28 +02:00
discover Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
dxcore Remove unused loadSaver interface 2023-10-24 20:00:24 +02:00
edits run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
info Log explicitly requested runtime mode 2023-12-15 15:35:35 +01:00
ldcache Return empty ldcache if cache does not exist 2023-11-17 10:14:03 +01:00
logger Replace logger.Warn(f) with logger.Warning(f) 2023-06-12 10:48:04 +02:00
lookup run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
modifier Fallback to standard CDI modifier when creation of automatic CDI modifier fails 2023-12-06 09:02:19 -08:00
nvcaps Correct constructin of MIG Caps 2022-10-13 14:06:30 +02:00
oci run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
platform-support/tegra Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
requirements Fix unnecessary conversion 2023-10-24 20:11:34 +02:00
runtime run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
system run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
test Add test package with GetModuleRoot and PrependToPath function 2022-03-29 11:05:41 +02:00