]> git.proxmox.com Git - pve-qemu-kvm.git/commitdiff
use new repoman for upload target
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 7 Sep 2016 10:40:50 +0000 (12:40 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 7 Sep 2016 10:40:50 +0000 (12:40 +0200)
Makefile

index df30a477645e70a636110ddd9772b0438e257ee4..fc2acaed3b9168c89e25337493eb39fcf4418c70 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,14 +38,7 @@ deb ${DEBS} kvm: ${KVMSRC}
 
 .PHONY: upload
 upload: ${DEBS} ${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
-       rm -rf /pve/${RELEASE}/extra/${KVMPACKAGE}-dbg_*.deb
-       cp ${DEBS} /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 - ${DEBS} | ssh repoman@repo.proxmox.com upload
 
 .PHONY: distclean
 distclean: clean