]> git.proxmox.com Git - iproute2.git/commitdiff
buildsys: use repoman for upload
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 6 Mar 2017 08:52:04 +0000 (09:52 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 6 Mar 2017 08:52:04 +0000 (09:52 +0100)
Makefile

index 5794a251b5fc8c82de9a0b89404c2e766629dec6..f89560886721fe893ed5fb8395d0f135b6063b68 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,14 +30,7 @@ download:
 
 .PHONY: upload
 upload: ${DEBS}
 
 .PHONY: upload
 upload: ${DEBS}
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
-       mkdir -p /pve/${RELEASE}/extra
-       rm -f /pve/${RELEASE}/extra/iproute2_*.deb
-       rm -f /pve/${RELEASE}/extra/iproute2-doc_*.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: clean
 clean:
 
 .PHONY: clean
 clean: