diff options
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/partition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index ab304f1b2a..a25834048e 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -105,7 +105,7 @@ class Partition(): | |||
105 | extra_blocks = self.extra_space | 105 | extra_blocks = self.extra_space |
106 | 106 | ||
107 | rootfs_size = actual_rootfs_size + extra_blocks | 107 | rootfs_size = actual_rootfs_size + extra_blocks |
108 | rootfs_size *= self.overhead_factor | 108 | rootfs_size = int(rootfs_size * self.overhead_factor) |
109 | 109 | ||
110 | logger.debug("Added %d extra blocks to %s to get to %d total blocks", | 110 | logger.debug("Added %d extra blocks to %s to get to %d total blocks", |
111 | extra_blocks, self.mountpoint, rootfs_size) | 111 | extra_blocks, self.mountpoint, rootfs_size) |