5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-01-23 02:04:19 +03:00

use new repoman for upload target

This commit is contained in:
Dietmar Maurer 2016-07-22 12:20:08 +02:00
parent 48ef1174da
commit 8a126e581f

View File

@ -53,12 +53,5 @@ distclean: clean
.PHONY: upload
upload: ${DEB} ${SIMDEB}
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/${SIMPACKAGE}_*.deb
rm -f /pve/${RELEASE}/extra/Packages*
cp ${DEB} ${SIMDEB} /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} ${SIMDEB}|ssh repoman@repo.proxmox.com upload