whoops... sorry i was using outdated configs
This commit is contained in:
parent
f9ae7f19fe
commit
4ace75af36
10
main.sh
10
main.sh
@ -12,5 +12,11 @@ cd ./hwdata
|
|||||||
# Get build deps
|
# Get build deps
|
||||||
apt-get build-dep ./ -y
|
apt-get build-dep ./ -y
|
||||||
|
|
||||||
# Build binaries
|
# Build package
|
||||||
echo -ne 'y' | debuild -us -uc
|
dh_make --createorig
|
||||||
|
dpkg-buildpackage
|
||||||
|
|
||||||
|
# Move the debs to output
|
||||||
|
cd ../
|
||||||
|
mkdir -p ./output
|
||||||
|
mv ./*.deb ./output/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
dpkg-sig --sign builder ./output/hwdata*.deb
|
dpkg-sig --sign builder ./output/hwdata*.deb
|
||||||
|
|
||||||
# Pull down existing ppa repo db files etc
|
# 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
|
# Remove our existing package from the repo
|
||||||
reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% hwdata*)'
|
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
|
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/hwdata*.deb
|
||||||
|
|
||||||
# Push the updated ppa repo to the server
|
# 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/
|
||||||
|
Loading…
Reference in New Issue
Block a user