]> git.proxmox.com Git - pve-qemu-kvm.git/commitdiff
use new repoman for upload target
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 5 Aug 2016 10:58:21 +0000 (12:58 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 5 Aug 2016 10:58:21 +0000 (12:58 +0200)
Makefile

index 75e994c80e4712efe9a1fb677d20ad510985f0de..8ef90b7b9e3b52c3b48796e3740a66e9bfbd55e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,13 +33,7 @@ ${KVM_DEB} kvm: ${KVMSRC}
 
 .PHONY: upload
 upload: ${KVM_DEB} ${KVMDIR}-src.tar.gz
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
-       mkdir -p /pve/${RELEASE}/extra
-       rm -rf /pve/${RELEASE}/extra/Packages*
-       rm -rf /pve/${RELEASE}/extra/${KVMPACKAGE}_*.deb
-       cp ${KVM_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 - ${KVM_DEB} | ssh repoman@repo.proxmox.com upload --dist wheezy
 
 .PHONY: distclean
 distclean: clean