mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 13:35:00 +00:00
Remove default symlink filter
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
963250a58f
commit
c4b4478d1a
@ -1,6 +1,7 @@
|
||||
# NVIDIA Container Toolkit Changelog
|
||||
|
||||
## v1.14.2
|
||||
* Fix bug on Tegra-based systems where symlinks were not created in containers.
|
||||
|
||||
## v1.14.1
|
||||
* Fixed bug where contents of `/etc/nvidia-container-runtime/config.toml` is ignored by the NVIDIA Container Runtime Hook.
|
||||
|
@ -58,15 +58,14 @@ func (o tegraOptions) newDiscovererFromCSVFiles() (discover.Discover, error) {
|
||||
targetsByType[csv.MountSpecLib],
|
||||
)
|
||||
|
||||
nonLibSymlinks := ignoreFilenamePatterns{"*.so", "*.so.[0-9]"}.Apply(targetsByType[csv.MountSpecSym]...)
|
||||
o.logger.Debugf("Non-lib symlinks: %v", nonLibSymlinks)
|
||||
symlinkTargets := targetsByType[csv.MountSpecSym]
|
||||
symlinks := discover.NewMounts(
|
||||
o.logger,
|
||||
o.symlinkLocator,
|
||||
o.driverRoot,
|
||||
nonLibSymlinks,
|
||||
symlinkTargets,
|
||||
)
|
||||
createSymlinks := o.createCSVSymlinkHooks(nonLibSymlinks, libraries)
|
||||
createSymlinks := o.createCSVSymlinkHooks(symlinkTargets, libraries)
|
||||
|
||||
d := discover.Merge(
|
||||
devices,
|
||||
|
Loading…
Reference in New Issue
Block a user