This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-24 16:13:08 +03:00 committed by GitHub
parent cae55d4684
commit 95dae0b2d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,11 @@
#! /bin/bash #! /bin/bash
set -e set -e
# Sign the packages
#dpkg-sig --sign builder ./output/*.deb
# Pull down existing ppa repo db files etc
#rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
apt install -y tree apt install -y tree
# AMDGPU MIRROR # AMDGPU MIRROR
mkdir -p ./output/amdgpu mkdir -p ./output/amdgpu
cd ./output/amdgpu cd ./output/amdgpu
# amdgpu-dkms-firmware dir
mkdir -p ./amdgpu-dkms-firmware
cd ./amdgpu-dkms-firmware
wget http://repo.radeon.com/amdgpu/5.5.3/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms_6.0.5.50503-1620033.20.04_all.deb
# Retrun to AMDGPU MIRROR
cd ../
# amdgpu drm dir # amdgpu drm dir
mkdir -p ./libd mkdir -p ./libd
cd ./libd cd ./libd
@ -30,13 +18,27 @@ cd ./proprietary
wget --recursive --no-parent -m https://repo.radeon.com/amdgpu/5.5.3/ubuntu/pool/proprietary/ wget --recursive --no-parent -m https://repo.radeon.com/amdgpu/5.5.3/ubuntu/pool/proprietary/
# Retrun to AMDGPU MIRROR # Retrun to AMDGPU MIRROR
cd ../ cd ../
# Get rid of all 20.04 deb files
find . -name \*20.04*.deb -exec rm -fv {} \;
# amdgpu-dkms-firmware dir
mkdir -p ./amdgpu-dkms-firmware
cd ./amdgpu-dkms-firmware
wget http://repo.radeon.com/amdgpu/5.5.3/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms_6.0.5.50503-1620033.20.04_all.deb
# Retrun to AMDGPU MIRROR
cd ../
mkdir -p ./output mkdir -p ./output
find . -name \*.deb -exec cp -vf {} ./output \ find . -name \*.deb -exec cp -vf {} ./output \;
# Check final result # Check final result
tree tree
# Sign the packages
dpkg-sig --sign builder ./output/*.deb
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Add the new package to the repo # Add the new package to the repo
#reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb reprepro -C amdgpu -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
# Push the updated ppa repo to the server # Push the updated ppa repo to the server
#rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/