diff options
Diffstat (limited to 'scripts/lib/wic/kickstart/custom_commands/partition.py')
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/partition.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py b/scripts/lib/wic/kickstart/custom_commands/partition.py index 3950b43621..54a494e033 100644 --- a/scripts/lib/wic/kickstart/custom_commands/partition.py +++ b/scripts/lib/wic/kickstart/custom_commands/partition.py | |||
@@ -229,6 +229,7 @@ class Wic_PartData(Mic_PartData): | |||
229 | extra_blocks = IMAGE_EXTRA_SPACE | 229 | extra_blocks = IMAGE_EXTRA_SPACE |
230 | 230 | ||
231 | rootfs_size = actual_rootfs_size + extra_blocks | 231 | rootfs_size = actual_rootfs_size + extra_blocks |
232 | rootfs_size *= IMAGE_OVERHEAD_FACTOR | ||
232 | 233 | ||
233 | msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \ | 234 | msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \ |
234 | (extra_blocks, self.mountpoint, rootfs_size)) | 235 | (extra_blocks, self.mountpoint, rootfs_size)) |
@@ -276,6 +277,7 @@ class Wic_PartData(Mic_PartData): | |||
276 | extra_blocks = IMAGE_EXTRA_SPACE | 277 | extra_blocks = IMAGE_EXTRA_SPACE |
277 | 278 | ||
278 | rootfs_size = actual_rootfs_size + extra_blocks | 279 | rootfs_size = actual_rootfs_size + extra_blocks |
280 | rootfs_size *= IMAGE_OVERHEAD_FACTOR | ||
279 | 281 | ||
280 | msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \ | 282 | msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \ |
281 | (extra_blocks, self.mountpoint, rootfs_size)) | 283 | (extra_blocks, self.mountpoint, rootfs_size)) |