Remove default symlink filter

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-09-22 21:13:57 +02:00
parent 963250a58f
commit c4b4478d1a
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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,