]> git.proxmox.com Git - spiceterm.git/commitdiff
buildsys: use repoman in the upload target
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 31 Jan 2017 12:44:47 +0000 (13:44 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 31 Jan 2017 12:44:47 +0000 (13:44 +0100)
Makefile

index 2e89779e74edcc5d7895a06b516932ca97798981..143b19e8ad666c0197054232026e9b6c0a85f1aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -61,13 +61,7 @@ dinstall: ${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: test
 test: spiceterm