summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/wic/utils/partitionedfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py
index 5a103bbc7e..3e2b420875 100644
--- a/scripts/lib/wic/utils/partitionedfs.py
+++ b/scripts/lib/wic/utils/partitionedfs.py
@@ -340,7 +340,7 @@ class Image(object):
340 source = part['source_file'] 340 source = part['source_file']
341 if source: 341 if source:
342 # install source_file contents into a partition 342 # install source_file contents into a partition
343 cmd = "dd if=%s of=%s bs=%d seek=%d count=%d conv=notrunc" % \ 343 cmd = "dd if=%s of=%s bs=%d seek=%d count=%d conv=notrunc,sparse" % \
344 (source, image_file, self.sector_size, 344 (source, image_file, self.sector_size,
345 part['start'], part['size']) 345 part['start'], part['size'])
346 exec_cmd(cmd) 346 exec_cmd(cmd)