mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-02-16 17:42:20 +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 = "*.*"
|
version = "*.*"
|
||||||
}
|
}
|
||||||
|
|
||||||
return libRoot, version
|
return driver.RelativeToRoot(libRoot), version
|
||||||
}
|
}
|
||||||
|
|
||||||
// buildXOrgSearchPaths returns the ordered list of search paths for XOrg files.
|
// buildXOrgSearchPaths returns the ordered list of search paths for XOrg files.
|
||||||
|
Loading…
Reference in New Issue
Block a user