mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
app-containers/nvidia-container-toolkit: drop 1.17.8
Signed-off-by: Huang Rui <vowstar@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45268 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST nvidia-container-toolkit-1.17.8.tar.gz 5377929 BLAKE2B 10047352812fdcd05381bf8b4bd6c032057c2a72630dcf867f97657cb4c344b0af483fb005eefad74f29296ac91958e17c453a71d9538b725b22c492c3d86715 SHA512 1ff7a39c09bd51222e3edbe6f31c3838df6a7d09bb0a0171df1e04be613502079253574fe2fb087b253687aa2a826d77f2410253023a127432e9d05a89174159
|
||||
DIST nvidia-container-toolkit-1.18.0.tar.gz 5752931 BLAKE2B 0ac6d294b80ea6cffd6d9fc4794e0b4048da425de7d115de645afb3a585e4862e42e2bf092f2333312ea2e117db1b0d488d51aab986d96c52e008dcc423e6b02 SHA512 5cfe75b385ae9950c7668ffca540e9d5c1ce770dd8d786314e4145463610b5ee3c4a2dc541df8fee203a9c0300380d71b2ba196e0796d4592d6bfccc7730aa38
|
||||
DIST nvidia-container-toolkit-1.18.1.tar.gz 5765296 BLAKE2B 5aaa01c6c6981e53a1860e810890af525b04e2ba7a97a179eaec8ad3b5bdb21e530ee491b2b5dade4c769085f917280cc3fb814dbe1e8b13a611b894b21fda4d SHA512 1c0488c77e9e54e156ccc6ba2c7bd1cdf93c85dd88b6fb2307a6499f572e626254c3c1a683dda843da533fef919b15674c2032bb2b4a6054c0a9ac4f64c306dc
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
EGO_PN="github.com/NVIDIA/${PN}"
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="NVIDIA container runtime toolkit"
|
||||
HOMEPAGE="https://github.com/NVIDIA/container-toolkit"
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/NVIDIA/${PN}.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
|
||||
# Some tests may require specific environmental setups or additional hardware.
|
||||
RESTRICT="test" # Bug 831702
|
||||
|
||||
# Bug 950233 version should not be newer than libnvidia-container
|
||||
RDEPEND="
|
||||
~sys-libs/libnvidia-container-${PV}
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
emake binaries
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin nvidia-cdi-hook \
|
||||
nvidia-container-runtime \
|
||||
nvidia-container-runtime.cdi \
|
||||
nvidia-container-runtime.legacy \
|
||||
nvidia-container-runtime-hook \
|
||||
nvidia-ctk
|
||||
insinto "/etc/nvidia-container-runtime"
|
||||
doins "${FILESDIR}/config.toml"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Your docker or containerd (if applicable) service may need restart"
|
||||
elog "after install this package:"
|
||||
elog "OpenRC: rc-service containerd restart; rc-service docker restart"
|
||||
elog "systemd: systemctl restart containerd; systemctl restart docker"
|
||||
elog "You may need to edit your /etc/nvidia-container-runtime/config.toml"
|
||||
elog "file before running ${PN} for the first time."
|
||||
elog "For details, please see the NVIDIA docker manual page."
|
||||
}
|
||||
Reference in New Issue
Block a user