Skip to content

Commit

Permalink
[no-relnote] Refactor toolkit installation
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Oct 22, 2024
1 parent df6df8c commit 2ce23c9
Show file tree
Hide file tree
Showing 15 changed files with 1,117 additions and 783 deletions.
2 changes: 1 addition & 1 deletion tools/container/nvidia-toolkit/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func Run(c *cli.Context, o *options) error {

o.toolkitOptions.ContainerRuntimeRuntimes = *cli.NewStringSlice(lowlevelRuntimePaths...)
}
err = toolkit.Install(c, &o.toolkitOptions, o.toolkitRoot())
err = toolkit.Install(c, &o.toolkitOptions, o.toolkitRoot(), o.runtimeOptions.HostRootMount)
if err != nil {
return fmt.Errorf("unable to install toolkit: %v", err)
}
Expand Down
153 changes: 0 additions & 153 deletions tools/container/toolkit/executable.go

This file was deleted.

152 changes: 0 additions & 152 deletions tools/container/toolkit/executable_test.go

This file was deleted.

Loading

0 comments on commit 2ce23c9

Please sign in to comment.