upload: use new repoman toolkit master
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 27 Jun 2016 08:50:44 +0000 (10:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 27 Jun 2016 08:50:44 +0000 (10:50 +0200)
Makefile

index 7a63a48..6a3dfa6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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