Skip to content

Commit c4b4478

Browse files
committed
Remove default symlink filter
Signed-off-by: Evan Lezar <[email protected]>
1 parent 963250a commit c4b4478

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# NVIDIA Container Toolkit Changelog
22

33
## v1.14.2
4+
* Fix bug on Tegra-based systems where symlinks were not created in containers.
45

56
## v1.14.1
67
* Fixed bug where contents of `/etc/nvidia-container-runtime/config.toml` is ignored by the NVIDIA Container Runtime Hook.

internal/platform-support/tegra/csv.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,14 @@ func (o tegraOptions) newDiscovererFromCSVFiles() (discover.Discover, error) {
5858
targetsByType[csv.MountSpecLib],
5959
)
6060

61-
nonLibSymlinks := ignoreFilenamePatterns{"*.so", "*.so.[0-9]"}.Apply(targetsByType[csv.MountSpecSym]...)
62-
o.logger.Debugf("Non-lib symlinks: %v", nonLibSymlinks)
61+
symlinkTargets := targetsByType[csv.MountSpecSym]
6362
symlinks := discover.NewMounts(
6463
o.logger,
6564
o.symlinkLocator,
6665
o.driverRoot,
67-
nonLibSymlinks,
66+
symlinkTargets,
6867
)
69-
createSymlinks := o.createCSVSymlinkHooks(nonLibSymlinks, libraries)
68+
createSymlinks := o.createCSVSymlinkHooks(symlinkTargets, libraries)
7069

7170
d := discover.Merge(
7271
devices,

0 commit comments

Comments
 (0)