diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-29 20:01:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-29 21:25:54 +0100 |
commit | f5fd769f5aa72089b3d10bddc6f38141e6b431c5 (patch) | |
tree | 11736cd9e8af19bf028fe6d3ca0dd92745780f60 /bitbake/lib/bb/ui/crumbs/hig.py | |
parent | a8c03230341644b1a2589f89ff40fdfb382534e8 (diff) | |
download | poky-f5fd769f5aa72089b3d10bddc6f38141e6b431c5.tar.gz |
Hob: Change the format to store image_fstype variable
Use string format to store image_fstype instead of a list.
(Bitbake rev: c91fe7f9d21939fd437dbd79a923499f90fc95c6)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index c47751c0fa..a21c6106a4 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
@@ -384,7 +384,7 @@ class AdvancedSettingDialog (CrumbsDialog): | |||
384 | self.image_types_checkbuttons[image_type] = gtk.CheckButton(image_type) | 384 | self.image_types_checkbuttons[image_type] = gtk.CheckButton(image_type) |
385 | self.image_types_checkbuttons[image_type].set_tooltip_text("Build an %s image" % image_type) | 385 | self.image_types_checkbuttons[image_type].set_tooltip_text("Build an %s image" % image_type) |
386 | table.attach(self.image_types_checkbuttons[image_type], j, j + 4, i, i + 1) | 386 | table.attach(self.image_types_checkbuttons[image_type], j, j + 4, i, i + 1) |
387 | if image_type in self.configuration.image_fstypes: | 387 | if image_type in self.configuration.image_fstypes.split(): |
388 | self.image_types_checkbuttons[image_type].set_active(True) | 388 | self.image_types_checkbuttons[image_type].set_active(True) |
389 | i += 1 | 389 | i += 1 |
390 | if i > rows: | 390 | if i > rows: |
@@ -608,10 +608,11 @@ class AdvancedSettingDialog (CrumbsDialog): | |||
608 | self.configuration.image_rootfs_size = self.rootfs_size_spinner.get_value_as_int() * 1024 | 608 | self.configuration.image_rootfs_size = self.rootfs_size_spinner.get_value_as_int() * 1024 |
609 | self.configuration.image_extra_size = self.extra_size_spinner.get_value_as_int() * 1024 | 609 | self.configuration.image_extra_size = self.extra_size_spinner.get_value_as_int() * 1024 |
610 | 610 | ||
611 | self.configuration.image_fstypes = [] | 611 | self.configuration.image_fstypes = "" |
612 | for image_type in self.image_types: | 612 | for image_type in self.image_types: |
613 | if self.image_types_checkbuttons[image_type].get_active(): | 613 | if self.image_types_checkbuttons[image_type].get_active(): |
614 | self.configuration.image_fstypes.append(image_type) | 614 | self.configuration.image_fstypes += (" " + image_type) |
615 | self.configuration.image_fstypes.strip() | ||
615 | self.variables["IMAGE_FSTYPES"] = self.configuration.image_fstypes | 616 | self.variables["IMAGE_FSTYPES"] = self.configuration.image_fstypes |
616 | 617 | ||
617 | if self.gplv3_checkbox.get_active(): | 618 | if self.gplv3_checkbox.get_active(): |