File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/nvidia-container-toolkit Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ export GOLDFLAGS="-compressdwarf=false -linkmode=external -extldflags '${CGO_LDF
58
58
59
59
go build -ldflags= "${GOLDFLAGS}" -o nvidia-container-runtime-hook ./cmd/nvidia-container-runtime-hook
60
60
go build -ldflags= "${GOLDFLAGS}" -o nvidia-ctk ./cmd/nvidia-ctk
61
+ go build -ldflags= "${GOLDFLAGS}" -o nvidia-cdi-hook ./cmd/nvidia-cdi-hook
61
62
62
63
%install
63
64
install -d %{buildroot }%{_cross_bindir }
@@ -69,6 +70,7 @@ install -d %{buildroot}%{_cross_factorydir}/nvidia-container-runtime
69
70
install -d %{buildroot }%{_cross_templatedir }/nvidia-container-runtime
70
71
install -p -m 0755 nvidia-container-runtime-hook %{buildroot }%{_cross_bindir }/
71
72
install -p -m 0755 nvidia-ctk %{buildroot }%{_cross_bindir }/
73
+ install -p -m 0755 nvidia-cdi-hook %{buildroot }%{_cross_bindir }/
72
74
install -m 0644 %{S:1 } %{buildroot }%{_cross_factorydir }/nvidia-container-runtime/
73
75
install -m 0644 %{S:2 } %{buildroot }%{_cross_factorydir }/nvidia-container-runtime/
74
76
install -m 0644 %{S:3 } %{buildroot }%{_cross_templatedir }/nvidia-oci-hooks-json
@@ -83,6 +85,7 @@ ln -s shimpei %{buildroot}%{_cross_bindir}/nvidia-oci
83
85
%{_cross_attribution_file }
84
86
%{_cross_bindir }/nvidia-container-runtime-hook
85
87
%{_cross_bindir }/nvidia-ctk
88
+ %{_cross_bindir }/nvidia-cdi-hook
86
89
%{_cross_bindir }/nvidia-oci
87
90
%{_cross_templatedir }/nvidia-oci-hooks-json
88
91
%{_cross_udevrulesdir }/90-nvidia-gpu-devices.rules
You can’t perform that action at this time.
0 commit comments