[pve-devel] [PATCH iproute2 3/3] buildsys: use repoman for upload
Fabian Grünbichler
f.gruenbichler at proxmox.com
Mon Mar 6 10:33:49 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 5794a25..f895608 100644
--- a/Makefile
+++ b/Makefile
@@ -30,14 +30,7 @@ download:
.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 at repo.proxmox.com upload
.PHONY: clean
clean:
--
2.1.4
More information about the pve-devel
mailing list