]> git.proxmox.com Git - drbd-utils.git/commitdiff
use new repoman for upload target
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 16 Jul 2016 15:16:54 +0000 (17:16 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 16 Jul 2016 15:16:54 +0000 (17:16 +0200)
Makefile

index 1e5dea851066e4ee6a830bdc7bb0e2823e725555..022333618895f7e6628a389d21ad0d232effff1c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,14 +32,7 @@ download ${DRBDSRC}:
 
 .PHONY: upload
 upload: ${DEBS}
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
-       mkdir -p /pve/${RELEASE}/extra
-       rm -f /pve/${RELEASE}/extra/drbd8-utils_*.deb
-       rm -f /pve/${RELEASE}/extra/drbd-utils_*.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
 
 distclean: clean