Generate nvidia-container-toolkit-operator-extensions package

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-02-10 16:55:10 +01:00
parent fdc759f7c2
commit 98afe0d27a
4 changed files with 21 additions and 2 deletions

View File

@ -23,3 +23,9 @@ Breaks: nvidia-container-runtime (<= 3.5.0-1), nvidia-container-runtime-hook, nv
Replaces: nvidia-container-runtime (<= 3.5.0-1), nvidia-container-runtime-hook Replaces: nvidia-container-runtime (<= 3.5.0-1), nvidia-container-runtime-hook
Description: NVIDIA Container Toolkit Base Description: NVIDIA Container Toolkit Base
Provides tools such as the NVIDIA Container Runtime and NVIDIA Container Toolkit CLI to enable GPU support in containers. Provides tools such as the NVIDIA Container Runtime and NVIDIA Container Toolkit CLI to enable GPU support in containers.
Package: nvidia-container-toolkit-operator-extensions
Architecture: any
Depends: ${misc:Depends}, nvidia-container-toolkit-base (= @VERSION@)
Description: NVIDIA Container Toolkit Operator Extensions
Provides tools for using the NVIDIA Container Toolkit with the GPU Operator

View File

@ -1,4 +1,3 @@
config.toml /etc/nvidia-container-runtime config.toml /etc/nvidia-container-runtime
nvidia-container-runtime /usr/bin nvidia-container-runtime /usr/bin
nvidia-container-runtime.cdi /usr/bin
nvidia-ctk /usr/bin nvidia-ctk /usr/bin

View File

@ -0,0 +1,2 @@
nvidia-container-runtime.cdi /usr/bin
nvidia-container-runtime.legacy /usr/bin

View File

@ -100,6 +100,18 @@ Provides tools such as the NVIDIA Container Runtime and NVIDIA Container Toolkit
%license LICENSE %license LICENSE
%config /etc/nvidia-container-runtime/config.toml %config /etc/nvidia-container-runtime/config.toml
%{_bindir}/nvidia-container-runtime %{_bindir}/nvidia-container-runtime
%{_bindir}/nvidia-ctk
# The OPERATOR EXTENSIONS package consists of components that are required to enable GPU support in Kubernetes.
# This package is not distributed as part of the NVIDIA Container Toolkit RPMs.
%package operator-extensions
Summary: NVIDIA Container Toolkit Operator Extensions
Requires: nvidia-container-toolkit-base == %{version}-%{release}
%description operator-extensions
Provides tools for using the NVIDIA Container Toolkit with the GPU Operator
%files operator-extensions
%license LICENSE
%{_bindir}/nvidia-container-runtime.cdi %{_bindir}/nvidia-container-runtime.cdi
%{_bindir}/nvidia-container-runtime.legacy %{_bindir}/nvidia-container-runtime.legacy
%{_bindir}/nvidia-ctk