]> git.proxmox.com Git - libgtk3-webkit-perl.git/commitdiff
buildsys: use repoman for upload
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 9 Mar 2017 12:52:10 +0000 (13:52 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 9 Mar 2017 12:52:10 +0000 (13:52 +0100)
Makefile

index e23af4e3e8241fa8a057d2a7abedc8dd69c002df..e09415226ead5546114343a93dbd54e6bb693659 100644 (file)
--- 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}