2019-10-22 21:36:22 +00:00
|
|
|
Name: nvidia-container-toolkit
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
|
|
|
Group: Development Tools
|
|
|
|
|
|
|
|
Vendor: NVIDIA CORPORATION
|
|
|
|
Packager: NVIDIA CORPORATION <cudatools@nvidia.com>
|
|
|
|
|
|
|
|
Summary: NVIDIA container runtime hook
|
|
|
|
URL: https://github.com/NVIDIA/nvidia-container-runtime
|
2020-06-09 03:03:19 +00:00
|
|
|
License: Apache-2.0
|
2019-10-22 21:36:22 +00:00
|
|
|
|
|
|
|
Source0: nvidia-container-toolkit
|
|
|
|
Source1: config.toml
|
|
|
|
Source2: oci-nvidia-hook
|
|
|
|
Source3: oci-nvidia-hook.json
|
|
|
|
Source4: LICENSE
|
|
|
|
|
|
|
|
Obsoletes: nvidia-container-runtime < 2.0.0, nvidia-container-runtime-hook
|
|
|
|
Provides: nvidia-container-runtime-hook
|
2020-07-08 16:16:41 +00:00
|
|
|
Requires: libnvidia-container-tools >= 1.2.0, libnvidia-container-tools < 2.0.0
|
2019-10-22 21:36:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Provides a OCI hook to enable GPU support in containers.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
cp %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
install -m 755 -t %{buildroot}%{_bindir} nvidia-container-toolkit
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/etc/nvidia-container-runtime
|
|
|
|
install -m 644 -t %{buildroot}/etc/nvidia-container-runtime config.toml
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/usr/libexec/oci/hooks.d
|
|
|
|
install -m 755 -t %{buildroot}/usr/libexec/oci/hooks.d oci-nvidia-hook
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/usr/share/containers/oci/hooks.d
|
|
|
|
install -m 644 -t %{buildroot}/usr/share/containers/oci/hooks.d oci-nvidia-hook.json
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
ln -sf %{_bindir}/nvidia-container-toolkit %{_bindir}/nvidia-container-runtime-hook
|
|
|
|
|
|
|
|
%postun
|
|
|
|
rm -f %{_bindir}/nvidia-container-runtime-hook
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/nvidia-container-toolkit
|
2020-07-22 13:38:40 +00:00
|
|
|
%config /etc/nvidia-container-runtime/config.toml
|
2019-10-22 21:36:22 +00:00
|
|
|
/usr/libexec/oci/hooks.d/oci-nvidia-hook
|
|
|
|
/usr/share/containers/oci/hooks.d/oci-nvidia-hook.json
|
|
|
|
|
|
|
|
%changelog
|
2020-07-24 20:08:50 +00:00
|
|
|
* Wed Jul 24 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.3.0-0.1.rc.1
|
|
|
|
- b50d86c1 Update build system to accept a TAG variable for things like rc.x
|
|
|
|
- fe65573b Add common CI tests for things like golint, gofmt, unit tests, etc.
|
|
|
|
- da6fbb34 Revert "Add ability to merge envars of the form NVIDIA_VISIBLE_DEVICES_*"
|
|
|
|
- a7fb3330 Flip build-all targets to run automatically on merge requests
|
|
|
|
- 8b248b66 Rename github.com/NVIDIA/container-toolkit to nvidia-container-toolkit
|
|
|
|
- da36874e Add new config options to pull device list from mounted files instead of ENVVAR
|
|
|
|
|
2020-07-22 13:41:33 +00:00
|
|
|
* Wed Jul 22 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.2.1-1
|
|
|
|
- 4e6e0ed4 Add 'ngx' to list of *all* driver capabilities
|
|
|
|
- 2f4af743 List config.toml as a config file in the RPM SPEC
|
|
|
|
|
2020-07-08 16:13:48 +00:00
|
|
|
* Wed Jul 08 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.2.0-1
|
|
|
|
- 8e0aab46 Fix repo listed in changelog for debian distributions
|
|
|
|
- 320bb6e4 Update dependence on libnvidia-container to 1.2.0
|
|
|
|
- 6cfc8097 Update package license to match source license
|
|
|
|
- e7dc3cbb Fix debian copyright file
|
|
|
|
- d3aee3e0 Add the 'ngx' driver capability
|
|
|
|
|
2020-06-03 20:38:43 +00:00
|
|
|
* Wed Jun 03 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.1.2-1
|
|
|
|
- c32237f3 Add support for parsing Linux Capabilities for older OCI specs
|
|
|
|
|
2020-05-19 14:06:24 +00:00
|
|
|
* Tue May 19 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.1.1-1
|
|
|
|
- d202aded Update dependence to libnvidia-container 1.1.1
|
|
|
|
|
2020-01-07 14:14:55 +00:00
|
|
|
* Fri May 15 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 1.1.0-1
|
2020-05-18 11:21:14 +00:00
|
|
|
- 4e4de762 Update build system to support multi-arch builds
|
|
|
|
- fcc1d116 Add support for MIG (Multi-Instance GPUs)
|
|
|
|
- d4ff0416 Add ability to merge envars of the form NVIDIA_VISIBLE_DEVICES_*
|
|
|
|
- 60f165ad Add no-pivot option to toolkit
|