]> git.proxmox.com Git - pve-manager.git/commitdiff
use new repoman toolkit
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Jun 2016 12:40:55 +0000 (14:40 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 29 Jun 2016 12:41:04 +0000 (14:41 +0200)
Makefile

index dc5f3a518e3a0dbf22b24d4b0bf387122ce05109..f6874e51bc82baf5c49e75b5d751eebcc8ea56e1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,13 +59,7 @@ ${DEB} deb:
 .PHONY: upload
 upload: ${DEB} check
        ./repoid.pl .git check
-       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: poupload
 #poupload: