2
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-08-22 02:07:24 +00:00

buildsys: use repoman in the upload target

This commit is contained in:
Wolfgang Bumiller 2017-01-31 13:44:47 +01:00
parent 6f0a522975
commit 5d2f691159

View File

@ -61,13 +61,7 @@ dinstall: ${DEB}
.PHONY: upload
upload: ${DEB}
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
mkdir -p /pve/${RELEASE}/extra
rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
rm -f /pve/${RELEASE}/extra/Packages*
cp ${DEB} /pve/${RELEASE}/extra
cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
.PHONY: test
test: spiceterm