summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/packageselectionpage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
index 6792fe097f..8eb388e57c 100755
--- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
+++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
@@ -208,8 +208,8 @@ class PackageSelectionPage (HobPage):
208 selected_packages_size_str = HobPage._size_to_string(selected_packages_size) 208 selected_packages_size_str = HobPage._size_to_string(selected_packages_size)
209 209
210 image_overhead_factor = self.builder.configuration.image_overhead_factor 210 image_overhead_factor = self.builder.configuration.image_overhead_factor
211 image_rootfs_size = self.builder.configuration.image_rootfs_size * 1024 # image_rootfs_size is KB 211 image_rootfs_size = self.builder.configuration.image_rootfs_size / 1024 # image_rootfs_size is KB
212 image_extra_size = self.builder.configuration.image_extra_size * 1024 # image_extra_size is KB 212 image_extra_size = self.builder.configuration.image_extra_size / 1024 # image_extra_size is KB
213 base_size = image_overhead_factor * selected_packages_size 213 base_size = image_overhead_factor * selected_packages_size
214 image_total_size = max(base_size, image_rootfs_size) + image_extra_size 214 image_total_size = max(base_size, image_rootfs_size) + image_extra_size
215 if "zypper" in self.builder.configuration.selected_packages: 215 if "zypper" in self.builder.configuration.selected_packages: