nvidia-container-toolkit/internal/lookup/root
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
..
options.go Add config search paths option to driver root. 2024-04-02 23:03:05 +02:00
root.go Use XDG_DATA_DIRS instead of hardcoding /usr/share 2024-04-11 17:13:02 +02:00