diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-12-13 14:45:42 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-20 13:15:54 +0000 |
commit | 4648aadfe161d2e0ec51408f35fdf8996727bd22 (patch) | |
tree | 1e958c49deb4b5a8265649bf21de4be7bc2cf59f /bitbake | |
parent | 25e449a710d2be741e61af552860d2022528c89a (diff) | |
download | poky-4648aadfe161d2e0ec51408f35fdf8996727bd22.tar.gz |
ui/crumbs/hobprefs: trigger a reparse after changing IMAGE_FSTYPES
As reported on the mailing list[1] when changing IMAGE_FSTYPES through the
hob preferences a reparse is required before the changes will be picked up
by the system. This patch sets the reload_required property of the class to
true when the image types have been modified to ensure the reparse is
triggered.
1. https://lists.yoctoproject.org/pipermail/yocto/2011-December/006002.html
(Bitbake rev: 6c0babf08909307ab69a66ed06e77e8818b2a8c5)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobprefs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobprefs.py b/bitbake/lib/bb/ui/crumbs/hobprefs.py index 5dfb0e68ce..3f6f128808 100644 --- a/bitbake/lib/bb/ui/crumbs/hobprefs.py +++ b/bitbake/lib/bb/ui/crumbs/hobprefs.py | |||
@@ -39,6 +39,7 @@ class HobPrefs(gtk.Dialog): | |||
39 | self.selected_image_types = handler.remove_image_output_type(ot) | 39 | self.selected_image_types = handler.remove_image_output_type(ot) |
40 | 40 | ||
41 | self.configurator.setConfVar('IMAGE_FSTYPES', "%s" % " ".join(self.selected_image_types).lstrip(" ")) | 41 | self.configurator.setConfVar('IMAGE_FSTYPES', "%s" % " ".join(self.selected_image_types).lstrip(" ")) |
42 | self.reload_required = True | ||
42 | 43 | ||
43 | def sdk_machine_combo_changed_cb(self, combo, handler): | 44 | def sdk_machine_combo_changed_cb(self, combo, handler): |
44 | sdk_mach = combo.get_active_text() | 45 | sdk_mach = combo.get_active_text() |