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