]> git.proxmox.com Git - pve-cluster.git/commitdiff
use new repoman for upload target
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Sep 2016 04:33:03 +0000 (06:33 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Sep 2016 04:33:03 +0000 (06:33 +0200)
Makefile

index 999dc2a3f5c4ede4de4d6b089913ed25a3219db6..9cf19b4ddd6b5c721ffd215885b41b874cf6b1e1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,13 +35,7 @@ deb ${DEB} ${DBG_DEB}:
 
 .PHONY: upload
 upload: ${DEB} ${DBG_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} ${DBG_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} ${DBG_DEB}| ssh repoman@repo.proxmox.com upload
 
 .PHONY: clean
 clean: