upload: use new repoman toolkit

This commit is contained in:
Dietmar Maurer 2016-06-27 10:50:44 +02:00
parent 8fe2f7ecfb
commit 8fd62b1775

View File

@ -40,11 +40,4 @@ distclean: clean
.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