ppp-sync/release.sh

21 lines
597 B
Bash
Raw Normal View History

2023-08-23 13:01:20 +02:00
#! /bin/bash
2023-08-23 13:08:14 +02:00
set -e
2023-08-23 12:42:54 +02:00
# Sign the packages
2023-08-23 12:49:38 +02:00
#dpkg-sig --sign builder ./output/*.deb
2023-08-23 12:42:54 +02:00
# Pull down existing ppa repo db files etc
2023-08-23 12:49:38 +02:00
#rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
2023-08-23 13:08:14 +02:00
apt install -y zsync
2023-08-23 13:01:20 +02:00
mkdir -p ./output/amdgpu
2023-08-23 13:08:14 +02:00
zsync -azP --exclude '20.04*.deb' http://repo.radeon.com/amdgpu/5.5.3/ubuntu/pool ./output/amdgpu
ls ./output/amdgpu
2023-08-23 12:42:54 +02:00
# Add the new package to the repo
2023-08-23 12:49:38 +02:00
#reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
2023-08-23 12:42:54 +02:00
# Push the updated ppa repo to the server
2023-08-23 12:49:38 +02:00
#rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/