Skip to content

Commit 2ce23c9

Browse files
committed
[no-relnote] Refactor toolkit installation
Signed-off-by: Evan Lezar <[email protected]>
1 parent df6df8c commit 2ce23c9

15 files changed

+1117
-783
lines changed

tools/container/nvidia-toolkit/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func Run(c *cli.Context, o *options) error {
164164

165165
o.toolkitOptions.ContainerRuntimeRuntimes = *cli.NewStringSlice(lowlevelRuntimePaths...)
166166
}
167-
err = toolkit.Install(c, &o.toolkitOptions, o.toolkitRoot())
167+
err = toolkit.Install(c, &o.toolkitOptions, o.toolkitRoot(), o.runtimeOptions.HostRootMount)
168168
if err != nil {
169169
return fmt.Errorf("unable to install toolkit: %v", err)
170170
}

tools/container/toolkit/executable.go

Lines changed: 0 additions & 153 deletions
This file was deleted.

tools/container/toolkit/executable_test.go

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)