-RELEASE=4.1
-
-VERSION=1.0
+VERSION=2.0
PACKAGE=pve-container
-PKGREL=53
+PKGREL=4
GITVERSION:=$(shell cat .git/refs/heads/master)
dinstall: ${DEB}
dpkg -i ${DEB}
-.PHONY: deb ${DEB}
-deb ${DEB}:
+.PHONY: deb
+deb: ${DEB}
+${DEB}:
rm -rf build
mkdir build
rsync -a src/ build
.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 -X repoman@repo.proxmox.com -- upload --product pve --dist stretch