From 8530eb68b8a85d78337fa05fd83312cd67ae9b7b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 3 Feb 2017 09:11:58 +0100 Subject: [PATCH] build: use repoman for uploading --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 40e0246..15181e4 100644 --- a/Makefile +++ b/Makefile @@ -104,13 +104,7 @@ ${DEB} deb: .PHONY: upload upload: ${DEB} - 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 ${DEB} /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 - ${DEB} | ssh repoman@repo.proxmox.com upload .PHONY: clean clean: -- 2.39.2