5
0
mirror of git://git.proxmox.com/git/vncterm.git synced 2025-01-26 18:03:33 +03:00

build: use repoman for uploading

This commit is contained in:
Fabian Grünbichler 2017-02-03 09:11:58 +01:00
parent e20fdc6c02
commit 8530eb68b8

View File

@ -104,13 +104,7 @@ ${DEB} 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: clean
clean: