]> git.proxmox.com Git - pve-container.git/commitdiff
update make upload target
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 28 Jun 2016 07:19:59 +0000 (09:19 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 28 Jun 2016 07:19:59 +0000 (09:19 +0200)
Makefile

index afa29d61dba2772753a2eafc800ed64fec0aeae5..6728fc238c78dcfee098d06e2de26fd3d05bb98b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,11 +37,4 @@ distclean: clean
 
 .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