diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py index 3dc09100fa..fc3d4a3bbf 100755 --- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py | |||
@@ -179,6 +179,8 @@ class PackageSelectionPage (HobPage): | |||
179 | image_extra_size = self.builder.configuration.image_extra_size * 1024 # image_extra_size is KB | 179 | image_extra_size = self.builder.configuration.image_extra_size * 1024 # image_extra_size is KB |
180 | base_size = image_overhead_factor * selected_packages_size | 180 | base_size = image_overhead_factor * selected_packages_size |
181 | image_total_size = max(base_size, image_rootfs_size) + image_extra_size | 181 | image_total_size = max(base_size, image_rootfs_size) + image_extra_size |
182 | if "zypper" in self.builder.configuration.selected_packages: | ||
183 | image_total_size += (51200 * 1024) | ||
182 | image_total_size_str = HobPage._size_to_string(image_total_size) | 184 | image_total_size_str = HobPage._size_to_string(image_total_size) |
183 | 185 | ||
184 | self.label.set_text("Packages included: %s\nSelected packages size: %s\nTotal image size: %s" % | 186 | self.label.set_text("Packages included: %s\nSelected packages size: %s\nTotal image size: %s" % |