summaryrefslogtreecommitdiff
path: root/scripts/lib/wic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic')
-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 6bdd9b21ce..ca6b721b67 100644
--- a/scripts/lib/wic/plugins/source/rawcopy.py
+++ b/scripts/lib/wic/plugins/source/rawcopy.py
@@ -76,7 +76,7 @@ class RawCopyPlugin(SourcePlugin):
out = exec_cmd(du_cmd)
filesize = out.split()[0]
- if filesize > part.size:
+ if int(filesize) > int(part.size):
part.size = filesize
part.source_file = dst