diff options
author | Huang Rui <vowstar@gmail.com> | 2023-03-22 21:19:27 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2023-03-22 21:19:27 +0800 |
commit | 6754345c1c195fc506ad49503c6002540bbbbcb9 (patch) | |
tree | c83bdb1142a1b82e5fea0946fe94f5cd14d17faf /app-containers/nvidia-container-toolkit | |
parent | app-containers/nvidia-container-toolkit: add 1.12.1 (diff) | |
download | guru-6754345c1c195fc506ad49503c6002540bbbbcb9.tar.gz guru-6754345c1c195fc506ad49503c6002540bbbbcb9.tar.bz2 guru-6754345c1c195fc506ad49503c6002540bbbbcb9.zip |
app-containers/nvidia-container-toolkit: fix install files
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'app-containers/nvidia-container-toolkit')
-rw-r--r-- | app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild index e5407673e..beb9ab285 100644 --- a/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild +++ b/app-containers/nvidia-container-toolkit/nvidia-container-toolkit-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,8 @@ if [[ "${PV}" == "9999" ]] ; then else SRC_URI=" https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz - https://media.githubusercontent.com/media/vowstar/distfiles/main/${P}-deps.tar.xz + https://github.com/vowstar/gentoo-go-deps/releases/download/${P}/${P}-deps.tar.xz + https://github.com/vowstar/gentoo-go-deps/releases/download/${P}/${P}-vendor.tar.xz " S="${WORKDIR}/${PN}-${PV/_rc/-rc.}" KEYWORDS="~amd64" @@ -48,9 +49,10 @@ src_compile() { } src_install() { - dobin "${PN}" - into "/usr/bin" - dosym "${PN}" "/usr/bin/nvidia-container-runtime-hook" + # Fixed by https://github.com/vizv + dobin "nvidia-container-runtime" + dobin "nvidia-container-runtime-hook" + dobin "nvidia-ctk" insinto "/etc/nvidia-container-runtime" doins "${FILESDIR}/config.toml" } |