Skip to content

Commit c6d19b5

Browse files
committed
[ubuntu24.04] remove gpg from the toolchain
Signed-off-by: Tariq Ibrahim <[email protected]>
1 parent 29fc943 commit c6d19b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ubuntu24.04/install.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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

5149
if [ "$1" = "depinstall" ]; then

0 commit comments

Comments
 (0)