[pve-devel] [PATCH criu 2/6] buildsys: use repoman for uploads

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Mar 10 12:30:07 CET 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index ee6631a..3665eab 100644
--- a/Makefile
+++ b/Makefile
@@ -37,14 +37,7 @@ download:
 
 .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}-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 at repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}
 
 distclean: clean
 
-- 
2.1.4





More information about the pve-devel mailing list