whoops... sorry i was using outdated configs

This commit is contained in:
Ward Nakchbandi 2023-02-25 14:05:03 +03:00
parent f9ae7f19fe
commit 4ace75af36
2 changed files with 10 additions and 4 deletions

10
main.sh
View File

@ -12,5 +12,11 @@ cd ./hwdata
# Get build deps
apt-get build-dep ./ -y
# Build binaries
echo -ne 'y' | debuild -us -uc
# Build package
dh_make --createorig
dpkg-buildpackage
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/

View File

@ -2,7 +2,7 @@
dpkg-sig --sign builder ./output/hwdata*.deb
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@pika-os.com:/srv/www/pikappa/ ./output/repo
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Remove our existing package from the repo
reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% hwdata*)'
@ -11,4 +11,4 @@ reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% hwdata*)'
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/hwdata*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@pika-os.com:/srv/www/pikappa/
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/