Skip to content

Commit

Permalink
[ubuntu24.04] remove gpg from the toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Tariq Ibrahim <[email protected]>
  • Loading branch information
tariq1890 committed Jan 15, 2025
1 parent 29fc943 commit c6d19b5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ubuntu24.04/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ dep_install () {
build-essential \
ca-certificates \
curl \
gpg \
kmod \
file \
libelf-dev \
Expand All @@ -28,7 +27,6 @@ dep_install () {
build-essential \
ca-certificates \
curl \
gpg \
kmod \
file \
libelf-dev \
Expand All @@ -44,8 +42,8 @@ setup_cuda_repo() {

# Fetch public CUDA GPG key and configure apt to only use this key when downloading CUDA packages
OS_ARCH=${TARGETARCH/amd64/x86_64} && OS_ARCH=${OS_ARCH/arm64/sbsa};
curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/${OS_ARCH}/3bf863cc.pub | gpg --dearmor -o /etc/apt/keyrings/cuda.pub;
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
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
dpkg -i cuda-keyring_1.1-1_all.deb
}

if [ "$1" = "depinstall" ]; then
Expand Down

0 comments on commit c6d19b5

Please sign in to comment.