[pve-devel] [PATCH kernel-3.10.0] update make upload target

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jun 29 09:50:51 CEST 2016


---
Note: already applied

 Makefile | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index d8fe8db..4db4ecd 100644
--- a/Makefile
+++ b/Makefile
@@ -376,16 +376,7 @@ ${FW_DEB} fw: control.firmware linux-firmware.git/WHENCE dvb-firmware.git/README
 
 .PHONY: upload
 upload: ${DST_DEB} ${HDR_DEB} ${FW_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/pve-firmware*.deb
-	rm -rf /pve/${RELEASE}/extra/Packages*
-	cp ${DST_DEB} ${FW_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} ${HDR_DEB} ${FW_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