summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-04-09 16:41:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-11 00:04:42 +0100
commitc546037dc9a9af49246d06114f19533ecfca67c3 (patch)
tree65ebb3c277289bed43a0eccc5a262164b804f008 /bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
parent0aff9a5824eab6b6829907bfa75ce996554eebea (diff)
downloadpoky-c546037dc9a9af49246d06114f19533ecfca67c3.tar.gz
Hob: Change base image to "Create your own image" if customized
Once user did customization to his base image, we change the base image to be "Create your own image" to avoid some issues caused by the relationship between base image and its default recipes and packages. This fixes [YOCTO #2211] (Bitbake rev: 8edad8d282b69896237e956a00c66cd4d10ef494) 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/recipeselectionpage.py')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/recipeselectionpage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
index 019f9f345e..3ad4c3cc23 100755
--- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
+++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
@@ -204,6 +204,11 @@ class RecipeSelectionPage (HobPage):
204 self.recipe_model.exclude_item(item_path=path) 204 self.recipe_model.exclude_item(item_path=path)
205 205
206 self.refresh_selection() 206 self.refresh_selection()
207 if not self.builder.customized:
208 self.builder.customized = True
209 self.builder.configuration.selected_image = self.recipe_model.__dummy_image__
210 self.builder.rcppkglist_populated()
211
207 self.builder.window_sensitive(True) 212 self.builder.window_sensitive(True)
208 213
209 def table_toggled_cb(self, table, cell, view_path, toggled_columnid, view_tree): 214 def table_toggled_cb(self, table, cell, view_path, toggled_columnid, view_tree):