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 run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
root Use XDG_DATA_DIRS instead of hardcoding /usr/share 2024-04-11 17:13:02 +02:00
symlinks
device_test.go
device.go
dir.go
executable_test.go
executable.go
file_test.go
file.go Remove duplicate not found error 2023-11-21 18:09:42 +01:00
library_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
library.go Add support for specifying search paths 2023-11-22 13:27:47 +01:00
locator_mock.go
locator.go Add support for specifying search paths 2023-11-22 13:27:47 +01:00
merge.go
path.go
symlinks.go Allow multiple pattern matches for symlinks 2023-11-17 10:43:52 +01:00