File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ dep_install () {
1515 build-essential \
1616 ca-certificates \
1717 curl \
18- gpg \
1918 kmod \
2019 file \
2120 libelf-dev \
@@ -28,7 +27,6 @@ dep_install () {
2827 build-essential \
2928 ca-certificates \
3029 curl \
31- gpg \
3230 kmod \
3331 file \
3432 libelf-dev \
@@ -44,8 +42,8 @@ setup_cuda_repo() {
4442
4543 # Fetch public CUDA GPG key and configure apt to only use this key when downloading CUDA packages
4644 OS_ARCH=${TARGETARCH/ amd64/ x86_64} && OS_ARCH=${OS_ARCH/ arm64/ sbsa} ;
47- curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/${OS_ARCH} /3bf863cc.pub | gpg --dearmor -o /etc/apt/keyrings/ cuda.pub ;
48- echo " deb [signed-by=/etc/apt/keyrings/cuda.pub] https://developer.download.nvidia.com/compute/ cuda/repos/ubuntu2404/ ${OS_ARCH} / " > /etc/apt/sources.list.d/cuda.list
45+ curl -fSsL " https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/${OS_ARCH} /cuda-keyring_1.1-1_all.deb " -o cuda-keyring_1.1-1_all.deb
46+ dpkg -i cuda-keyring_1.1-1_all.deb
4947}
5048
5149if [ " $1 " = " depinstall" ]; then
You can’t perform that action at this time.
0 commit comments