From: Fabian Grünbichler Date: Mon, 13 Feb 2017 13:11:03 +0000 (+0100) Subject: buildsys: use repoman for make upload X-Git-Url: https://git.proxmox.com/?p=pve-omping.git;a=commitdiff_plain;h=2e25b3080dd6ea4319ff0abebde2ff91a85e6777 buildsys: use repoman for make upload --- diff --git a/Makefile b/Makefile index 5072a8a..9677c97 100644 --- a/Makefile +++ b/Makefile @@ -22,13 +22,7 @@ ${DEBS}: ${PKGSRC} .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/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