mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Use relative path to locate driver libraries
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
55ea268829
commit
e527cc1ff5
@ -216,7 +216,7 @@ func getCUDALibRootAndVersionPattern(logger logger.Interface, driver *root.Drive
|
||||
version = "*.*"
|
||||
}
|
||||
|
||||
return libRoot, version
|
||||
return driver.RelativeToRoot(libRoot), version
|
||||
}
|
||||
|
||||
// buildXOrgSearchPaths returns the ordered list of search paths for XOrg files.
|
||||
|
Loading…
Reference in New Issue
Block a user