diff options
author | Jessica Zhang <jessica.zhang@intel.com> | 2011-07-26 17:18:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 16:54:04 +0100 |
commit | 60218d19f7c3651908e352e5e001257fd34d138b (patch) | |
tree | ce0bc6b888f09ba97cbbe9c51b55818ce8453bd0 /bitbake/lib | |
parent | cd4141f1a77016bde2cd82e2489f863a1c47cf84 (diff) | |
download | poky-60218d19f7c3651908e352e5e001257fd34d138b.tar.gz |
ui/crumbs/hobprefs: trigger reparse when package format changed
reload_data after package format change to make the change take effects in
next build.
Fixes [YOCTO #1287].
(Bitbake rev: fb47c7452455f3f8d943b21dd61300ec55eea141)
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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 1e6c78b435..0f9bda2a4a 100644 --- a/bitbake/lib/bb/ui/crumbs/hobprefs.py +++ b/bitbake/lib/bb/ui/crumbs/hobprefs.py | |||
@@ -93,6 +93,7 @@ class HobPrefs(gtk.Dialog): | |||
93 | self.curr_package_format = package_format | 93 | self.curr_package_format = package_format |
94 | self.configurator.setLocalConfVar('PACKAGE_CLASSES', 'package_%s' % package_format) | 94 | self.configurator.setLocalConfVar('PACKAGE_CLASSES', 'package_%s' % package_format) |
95 | handler.set_package_format(package_format) | 95 | handler.set_package_format(package_format) |
96 | self.reload_required = True | ||
96 | 97 | ||
97 | def update_package_formats(self, handler, formats): | 98 | def update_package_formats(self, handler, formats): |
98 | active = 0 | 99 | active = 0 |