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

index aae7bbff5ee09901b18d41baaa972559ce53c9a7..3f6b4fd19c24f016400651bfdc4af5b9a1d41e73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,15 +36,7 @@ download ${SRCTAR}:
 
 .PHONY: upload
 upload: ${DEBS}
-       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/${PACKAGE}-dev_*.deb
-       rm -f /pve/${RELEASE}/extra/${PACKAGE}-dbg_*.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