diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source/rawcopy.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/rawcopy.py | 2 |
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): | |||
76 | out = exec_cmd(du_cmd) | 76 | out = exec_cmd(du_cmd) |
77 | filesize = out.split()[0] | 77 | filesize = out.split()[0] |
78 | 78 | ||
79 | if filesize > part.size: | 79 | if int(filesize) > int(part.size): |
80 | part.size = filesize | 80 | part.size = filesize |
81 | 81 | ||
82 | part.source_file = dst | 82 | part.source_file = dst |