nvidia-container-toolkit: update to 1.16.1.

This commit is contained in:
Andrew Benson 2024-08-06 07:27:02 -05:00 committed by Andrew Benson
parent 9b3f326cca
commit 0169c3be14
1 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'nvidia-container-toolkit'
pkgname=nvidia-container-toolkit
version=1.13.5
version=1.16.1
revision=1
archs="x86_64"
build_style=go
@ -14,11 +14,12 @@ maintainer="Quentin Freimanis <quentinfreimanis@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/NVIDIA/nvidia-container-toolkit/"
distfiles="https://github.com/NVIDIA/nvidia-container-toolkit/archive/v${version}.tar.gz"
checksum=2e95a89ca3ab95528df4bf32c5e0c8333e283e0465b9636458282c3d49a1b1da
checksum=38a193444e0342c0a2c0d3664403e2c341eb77f1461b3f9172fd93c04de82165
post_install() {
ln -sf /usr/bin/nvidia-container-runtime-hook ${DESTDIR}/usr/bin/${pkgname}
vmkdir /etc/nvidia-container-runtime 755
vinstall config/config.toml.rpm-yum 644 /etc/nvidia-container-runtime config.toml
vinstall oci-nvidia-hook.json 644 /usr/share/containers/oci/hooks.d 00-oci-nvidia-hook.json
${DESTDIR}/usr/bin/nvidia-ctk --quiet config \
--config-file=${DESTDIR}/etc/nvidia-container-runtime/config.toml \
--in-place
}