[bitbake-devel] [PATCH 4/4] ui/crumbs/hobprefs: trigger reparse when package format changed

Joshua Lock josh at linux.intel.com
Wed Jul 27 03:57:27 UTC 2011


From: Jessica Zhang <jessica.zhang at intel.com>

reload_data after package format change to make the change take effects in
next build.

Fixes [YOCTO #1287].

Signed-off-by: Jessica Zhang <jessica.zhang at intel.com>
Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
 lib/bb/ui/crumbs/hobprefs.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/bb/ui/crumbs/hobprefs.py b/lib/bb/ui/crumbs/hobprefs.py
index 1e6c78b..0f9bda2 100644
--- a/lib/bb/ui/crumbs/hobprefs.py
+++ b/lib/bb/ui/crumbs/hobprefs.py
@@ -93,6 +93,7 @@ class HobPrefs(gtk.Dialog):
             self.curr_package_format = package_format
             self.configurator.setLocalConfVar('PACKAGE_CLASSES', 'package_%s' % package_format)
             handler.set_package_format(package_format)
+            self.reload_required = True
 
     def update_package_formats(self, handler, formats):
         active = 0
-- 
1.7.6





More information about the bitbake-devel mailing list