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
|
# 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.
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user