[pve-devel] [stable-3 kernel-2.6.32 3/3] update make upload target
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Jun 28 15:22:21 CEST 2016
---
Makefile | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index 099bf3a..f23eec9 100644
--- a/Makefile
+++ b/Makefile
@@ -384,16 +384,7 @@ ${HDR_DEB} hdr: .compile_mark headers-control.in headers-postinst.in
.PHONY: upload
upload: ${DST_DEB} ${PVE_DEB} ${HDR_DEB}
- umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
- mkdir -p /pve/${RELEASE}/extra
- mkdir -p /pve/${RELEASE}/install
- rm -rf /pve/${RELEASE}/extra/${PACKAGE}_*.deb
- rm -rf /pve/${RELEASE}/extra/${HDRPACKAGE}_*.deb
- rm -rf /pve/${RELEASE}/extra/${PVEPKG}_*.deb
- rm -rf /pve/${RELEASE}/extra/Packages*
- cp ${DST_DEB} ${PVE_DEB} ${HDR_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 - ${DST_DEB} ${PVE_DEB} ${HDR_DEB} | ssh repoman at repo.proxmox.com upload --dist wheezy
.PHONY: distclean
distclean: clean
--
2.1.4
More information about the pve-devel
mailing list