]> git.proxmox.com Git - pve-access-control.git/commitdiff
use new repoman for upload target
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 5 Aug 2016 11:10:17 +0000 (13:10 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 5 Aug 2016 11:10:17 +0000 (13:10 +0200)
Makefile

index 2507f856e785e61192faf6bbc3e3bc40229b7d3f..05c9f637d00917e58bc920bb504e8af643d869be 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,13 +68,7 @@ deb ${DEB}:
 
 .PHONY: upload
 upload: ${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:
 
 .PHONY: clean
 clean: