From ac1b9928c750992d6e32f5e6403fdc0150045af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 9 Mar 2017 13:52:10 +0100 Subject: [PATCH] buildsys: use repoman for upload --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index e23af4e..e094152 100644 --- a/Makefile +++ b/Makefile @@ -19,13 +19,7 @@ ${DEB}: ${OPKGNAME}.tar.gz .phony: upload upload: ${DEB} - umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw - mkdir -p /pve/${RELEASE}/extra - rm -rf /pve/${RELEASE}/extra/${PACKAGE}_*.deb - rm -f /pve/${RELEASE}/extra/Packages* - cp ${DEB} /pve/${RELEASE}/extra - cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz - umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro + tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch .PHONY: dinstall dinstall: ${DEB}