nvidia-container-toolkit/internal
Jared Baur 5788e622f4 Use XDG_DATA_DIRS instead of hardcoding /usr/share
When running nvidia-ctk on a system that uses a custom XDG_DATA_DIRS
environment variable value, the configuration files for `glvnd`,
`vulkan`, and `egl` fail to get passed through from the host to the
container. Reading from XDG_DATA_DIRS instead of hardcoding the default
value allows for finding said files so they can be mounted in the
container.

Signed-off-by: Jared Baur <jaredbaur@fastmail.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-04-11 17:13:02 +02:00
..
config Add support for feature flags 2024-04-03 11:58:37 +02:00
cuda Fix build and test on darwin 2024-02-05 23:58:28 +01:00
discover Add driver.Config 2024-03-25 20:18:15 +02:00
dxcore Use D3DKMTEnumAdapters3 for adapter enumeration 2024-03-12 11:42:08 +01:00
edits
info [R550 driver support] add fallback logic to device.Exists(name) 2024-02-27 11:59:35 -08:00
ldcache
logger
lookup Use XDG_DATA_DIRS instead of hardcoding /usr/share 2024-04-11 17:13:02 +02:00
modifier Create root.Driver instance at first usage 2024-04-03 15:03:33 +02:00
nvcaps
oci
platform-support/tegra Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
requirements
runtime Create root.Driver instance at first usage 2024-04-03 15:03:33 +02:00
system Add proc.devices.New constructor 2024-02-06 11:19:43 +01:00
test