nvidia-container-toolkit/internal/lookup
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
..
cuda
root
symlinks
device_test.go
device.go
dir.go
executable_test.go
executable.go
file_test.go
file.go
library_test.go
library.go
locator_mock.go
locator.go
merge.go
path.go
symlinks.go