Patchwork [bitbake-devel] bitbake: hob/builder: Image selection is remembered while changing adv settings

login
register
mail settings
Submitter Cristian Iorga
Date Oct. 17, 2012, 2:24 p.m.
Message ID <1350483846-1271-1-git-send-email-cristian.iorga@intel.com>
Download mbox | patch
Permalink /patch/38229/
State New
Headers show

Comments

Cristian Iorga - Oct. 17, 2012, 2:24 p.m.
Image selection is remembered correctly even after
advanced settings have been changed.
Selected image was reset even when it was not the case.

Fixes [YOCTO #3228]

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
---
 bitbake/lib/bb/ui/crumbs/builder.py |    1 -
 1 file changed, 1 deletion(-)
Richard Purdie - Oct. 24, 2012, 8:11 p.m.
On Wed, 2012-10-17 at 17:24 +0300, Cristian Iorga wrote:
> Image selection is remembered correctly even after
> advanced settings have been changed.
> Selected image was reset even when it was not the case.
> 
> Fixes [YOCTO #3228]
> 
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>

Merged to master, thanks.

Richard

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 6ddc5b6..5810b93 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -123,7 +123,6 @@  class Configuration:
         }
 
     def clear_selection(self):
-        self.selected_image = None
         self.selected_recipes = []
         self.selected_packages = []
         self.initial_selected_packages = []