From 8cd04168965c9e7f175fc2a3f6d98a1cb053925c Mon Sep 17 00:00:00 2001
From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Date: Sat, 26 Sep 2015 15:36:16 +0200
Subject: [PATCH] rsync: use inplace and delta transfer modes

This fixes the "No space left on device" error that occured when
updating large files (e.g. a squashfs) on the image partition file.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index eb7c2c3..21070a5 100644
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,7 @@ $(strip $1): image_umount_if
 )$(strip $1)__ignore_mount
 endef
 
-RSYNC=rsync -a
+RSYNC=rsync -a --inplace --no-whole-file
 LZMA_FLAGS=-T 0
 
 define archdir =
-- 
GitLab