]> git.proxmox.com Git - openvswitch.git/commitdiff
build: use repoman for upload target
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 21 Nov 2016 14:17:32 +0000 (15:17 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 21 Nov 2016 14:17:32 +0000 (15:17 +0100)
Makefile

index 95e2a4938e2fa5d10f801c1cc870be2ef5fd08bb..3122a5865bf025ff14a653ee30d989a8063f29b6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,13 +38,7 @@ ${OVSSRC} download:
 
 .PHONY: upload
 upload: ${DEBS}
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
-       mkdir -p /pve/${RELEASE}/extra
-       rm -f /pve/${RELEASE}/extra/openvswitch-*.deb
-       rm -f /pve/${RELEASE}/extra/Packages*
-       cp ${DEBS} /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 - ${DEBS} | ssh repoman@repo.proxmox.com upload
 
 .PHONY: distclean
 distclean: clean