diff options
-rw-r--r-- | meta/lib/oe/image.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index 2361955971..f9e9bfd587 100644 --- a/meta/lib/oe/image.py +++ b/meta/lib/oe/image.py | |||
@@ -172,6 +172,8 @@ class Image(ImageDepGraph): | |||
172 | 172 | ||
173 | if base_size != int(base_size): | 173 | if base_size != int(base_size): |
174 | base_size = int(base_size + 1) | 174 | base_size = int(base_size + 1) |
175 | else: | ||
176 | base_size = int(base_size) | ||
175 | 177 | ||
176 | base_size += rootfs_alignment - 1 | 178 | base_size += rootfs_alignment - 1 |
177 | base_size -= base_size % rootfs_alignment | 179 | base_size -= base_size % rootfs_alignment |