summaryrefslogtreecommitdiff
path: root/poky/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/scripts/lib/wic/engine.py')
-rw-r--r--poky/scripts/lib/wic/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poky/scripts/lib/wic/engine.py b/poky/scripts/lib/wic/engine.py
index ea600d2854..ab33fa6042 100644
--- a/poky/scripts/lib/wic/engine.py
+++ b/poky/scripts/lib/wic/engine.py
@@ -338,7 +338,7 @@ class Disk:
def copy(self, src, pnum, path):
"""Copy partition image into wic image."""
if self.partitions[pnum].fstype.startswith('ext'):
- cmd = "printf 'cd {}\nwrite {} {}' | {} -w {}".\
+ cmd = "printf 'cd {}\nwrite {} {}\n' | {} -w {}".\
format(path, src, os.path.basename(src),
self.debugfs, self._get_part_image(pnum))
else: # fat