summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/wic/plugins/source/rawcopy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py
index 5bd22fdeb5..618dd4475c 100644
--- a/scripts/lib/wic/plugins/source/rawcopy.py
+++ b/scripts/lib/wic/plugins/source/rawcopy.py
@@ -71,7 +71,7 @@ class RawCopyPlugin(SourcePlugin):
71 dst = os.path.join(cr_workdir, "%s.%s" % (source_params['file'], part.lineno)) 71 dst = os.path.join(cr_workdir, "%s.%s" % (source_params['file'], part.lineno))
72 72
73 if 'skip' in source_params: 73 if 'skip' in source_params:
74 sparse_copy(src, dst, skip=source_params['skip']) 74 sparse_copy(src, dst, skip=int(source_params['skip']))
75 else: 75 else:
76 sparse_copy(src, dst) 76 sparse_copy(src, dst)
77 77