Skip to content

Commit

Permalink
fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
r2k1 committed Feb 25, 2025
1 parent 8811f02 commit c4d9bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -644,10 +644,10 @@ downloadAMDGPUDriversUbuntu() {
# attempt to remove it for other releases as well, just in case
sudo sed -i '/blacklist amdgpu/d' /etc/modprobe.d/blacklist-radeon-instinct.conf
if [ "${UBUNTU_RELEASE}" == "22.04" ]; then
echo "deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.3.3/ubuntu ${DISTRO} main" \
echo "deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.3.3/ubuntu jammy main" \
| sudo tee /etc/apt/sources.list.d/amdgpu.list
elif [ "${UBUNTU_RELEASE}" == "24.04" ]; then
echo "deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.3.3/ubuntu jammy main" \
echo "deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.3.3/ubuntu noble main" \
| sudo tee /etc/apt/sources.list.d/amdgpu.list
else
echo "Unexpected Ubuntu Release (${UBUNTU_RELEASE})"
Expand Down

0 comments on commit c4d9bbf

Please sign in to comment.