This commit is contained in:
parent
e7768fd753
commit
5d2c1d9996
11
rocm.sh
11
rocm.sh
@ -4,17 +4,18 @@ set -e
|
|||||||
# ROCm MIRROR
|
# ROCm MIRROR
|
||||||
mkdir -p ./output/rocm
|
mkdir -p ./output/rocm
|
||||||
cd ./output/rocm
|
cd ./output/rocm
|
||||||
|
|
||||||
|
# temp
|
||||||
|
apt update
|
||||||
|
apt upgrade -y
|
||||||
|
# end of temp
|
||||||
|
|
||||||
# Get package list from ROCm Pool
|
# Get package list from ROCm Pool
|
||||||
wget http://repo.radeon.com/rocm/apt/5.6/dists/jammy/main/binary-amd64/Packages
|
wget http://repo.radeon.com/rocm/apt/5.6/dists/jammy/main/binary-amd64/Packages
|
||||||
# Get rid of Pika sources to prevent conflicts
|
# Get rid of Pika sources to prevent conflicts
|
||||||
rm -rf /etc/apt/sources.list.d/pika*
|
rm -rf /etc/apt/sources.list.d/pika*
|
||||||
rm -rf /etc/apt/preferences.d/*pika*
|
rm -rf /etc/apt/preferences.d/*pika*
|
||||||
|
|
||||||
# temp
|
|
||||||
apt update
|
|
||||||
apt upgrade
|
|
||||||
# end of temp
|
|
||||||
|
|
||||||
for i in $(cat ./Packages | grep "Package: " | awk '{print $2}')
|
for i in $(cat ./Packages | grep "Package: " | awk '{print $2}')
|
||||||
do
|
do
|
||||||
# Get ROCm pool from pika
|
# Get ROCm pool from pika
|
||||||
|
Loading…
Reference in New Issue
Block a user