[pve-devel] [PATCH installer v2 1/2] buildsys: do not copy test disk images over to build dir

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Dec 13 11:13:32 CET 2018


this is unecessary and rsycn does no sparse copy if the --sparse
option is not passed.
As I want to introduce easier testing with multiple disks this helps
alot in reducing test setup and package build time.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

v1->v2:
* no changes

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a805b32..09cf0a8 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ country.dat: country.pl
 
 deb: ${DEBS} 
 ${DEBS}: ${INSTALLER_SOURCES} ${HTML_COMMON_SOURCES} ${HTML_SOURCES}
-	rsync -a * build
+	rsync --exclude='test*.img' -a * build
 	cd build; dpkg-buildpackage -b -us -uc
 	lintian -X man ${PVE_DEB}
 	lintian -X man ${PMG_DEB}
-- 
2.19.2





More information about the pve-devel mailing list