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 # NVIDIA Container Toolkit Changelog
## v1.14.2 ## v1.14.2
* Fix bug on Tegra-based systems where symlinks were not created in containers.
## v1.14.1 ## v1.14.1
* Fixed bug where contents of `/etc/nvidia-container-runtime/config.toml` is ignored by the NVIDIA Container Runtime Hook. * 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], targetsByType[csv.MountSpecLib],
) )
nonLibSymlinks := ignoreFilenamePatterns{"*.so", "*.so.[0-9]"}.Apply(targetsByType[csv.MountSpecSym]...) symlinkTargets := targetsByType[csv.MountSpecSym]
o.logger.Debugf("Non-lib symlinks: %v", nonLibSymlinks)
symlinks := discover.NewMounts( symlinks := discover.NewMounts(
o.logger, o.logger,
o.symlinkLocator, o.symlinkLocator,
o.driverRoot, o.driverRoot,
nonLibSymlinks, symlinkTargets,
) )
createSymlinks := o.createCSVSymlinkHooks(nonLibSymlinks, libraries) createSymlinks := o.createCSVSymlinkHooks(symlinkTargets, libraries)
d := discover.Merge( d := discover.Merge(
devices, devices,