diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-04-17 16:21:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-17 11:41:31 +0100 |
commit | c50d8b753d33318efba6b5a859efc220fb3d879a (patch) | |
tree | f4bce60ad89b378b5d6efb208346b584205f6fe4 /bitbake | |
parent | c27655793bbda32409e54920e6e2be446feaf23c (diff) | |
download | poky-c50d8b753d33318efba6b5a859efc220fb3d879a.tar.gz |
Hob: Enlarge the upper value of image size
Originally the upper value for image size and extra size is 1024M, which
is relatively small. Enlarge it to 64GB.
Besides, fix tooltip for toolchain build.
(Bitbake rev: 99f01305b4c2253567a1a13a33339b1755a86e6d)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index a85b478a87..93a4fbc2f4 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
@@ -423,15 +423,15 @@ class AdvancedSettingDialog (CrumbsDialog): | |||
423 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) | 423 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) |
424 | label = self.gen_label_widget("<span weight=\"bold\">Image rootfs size: (MB)</span>") | 424 | label = self.gen_label_widget("<span weight=\"bold\">Image rootfs size: (MB)</span>") |
425 | tooltip = "Sets the basic size of your target image.\nThis is the basic size of your target image unless your selected package size exceeds this value or you select \'Image Extra Size\'." | 425 | tooltip = "Sets the basic size of your target image.\nThis is the basic size of your target image unless your selected package size exceeds this value or you select \'Image Extra Size\'." |
426 | rootfs_size_widget, self.rootfs_size_spinner = self.gen_spinner_widget(int(self.configuration.image_rootfs_size*1.0/1024), 0, 1024, tooltip) | 426 | rootfs_size_widget, self.rootfs_size_spinner = self.gen_spinner_widget(int(self.configuration.image_rootfs_size*1.0/1024), 0, 65536, tooltip) |
427 | sub_vbox.pack_start(label, expand=False, fill=False) | 427 | sub_vbox.pack_start(label, expand=False, fill=False) |
428 | sub_vbox.pack_start(rootfs_size_widget, expand=False, fill=False) | 428 | sub_vbox.pack_start(rootfs_size_widget, expand=False, fill=False) |
429 | 429 | ||
430 | sub_vbox = gtk.VBox(False, 6) | 430 | sub_vbox = gtk.VBox(False, 6) |
431 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) | 431 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) |
432 | label = self.gen_label_widget("<span weight=\"bold\">Image extra size: (MB)</span>") | 432 | label = self.gen_label_widget("<span weight=\"bold\">Image extra size: (MB)</span>") |
433 | tooltip = "Sets the extra free space of your target image.\nBy default, the system reserves 30% of your image size as free space. If your image contains zypper, it brings in 50MB more space. The maximum free space is 1024MB." | 433 | tooltip = "Sets the extra free space of your target image.\nBy default, the system reserves 30% of your image size as free space. If your image contains zypper, it brings in 50MB more space. The maximum free space is 64GB." |
434 | extra_size_widget, self.extra_size_spinner = self.gen_spinner_widget(int(self.configuration.image_extra_size*1.0/1024), 0, 1024, tooltip) | 434 | extra_size_widget, self.extra_size_spinner = self.gen_spinner_widget(int(self.configuration.image_extra_size*1.0/1024), 0, 65536, tooltip) |
435 | sub_vbox.pack_start(label, expand=False, fill=False) | 435 | sub_vbox.pack_start(label, expand=False, fill=False) |
436 | sub_vbox.pack_start(extra_size_widget, expand=False, fill=False) | 436 | sub_vbox.pack_start(extra_size_widget, expand=False, fill=False) |
437 | 437 | ||
@@ -450,7 +450,7 @@ class AdvancedSettingDialog (CrumbsDialog): | |||
450 | self.toolchain_checkbox.set_active(self.configuration.toolchain_build) | 450 | self.toolchain_checkbox.set_active(self.configuration.toolchain_build) |
451 | sub_hbox.pack_start(self.toolchain_checkbox, expand=False, fill=False) | 451 | sub_hbox.pack_start(self.toolchain_checkbox, expand=False, fill=False) |
452 | 452 | ||
453 | tooltip = "Selects the Host platform for which you want to run the toolchain" | 453 | tooltip = "Selects the host platform for which you want to run the toolchain" |
454 | sdk_machine_widget, self.sdk_machine_combo = self.gen_combo_widget(self.configuration.curr_sdk_machine, self.all_sdk_machines, tooltip) | 454 | sdk_machine_widget, self.sdk_machine_combo = self.gen_combo_widget(self.configuration.curr_sdk_machine, self.all_sdk_machines, tooltip) |
455 | sub_hbox.pack_start(sdk_machine_widget, expand=False, fill=False) | 455 | sub_hbox.pack_start(sdk_machine_widget, expand=False, fill=False) |
456 | 456 | ||