Patchwork [bitbake-devel,1.18,1/2] hob: save the base image name for the customized images

login
register
mail settings
Submitter Paul Eggleton
Date July 29, 2013, 8:19 a.m.
Message ID <6bfd753b6957f1423f22dd5613d3086dd767b3b7.1375085732.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/54675/
State New
Headers show

Comments

Paul Eggleton - July 29, 2013, 8:19 a.m.
From: Cristiana Voicu <cristiana.voicu@intel.com>

Building an image, after customizing it, was failing because the base
image was not saved.

[YOCTO #4751]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
index 66cb7ff..8452273 100755
--- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
+++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
@@ -288,6 +288,7 @@  class PackageSelectionPage (HobPage):
         self.refresh_selection()
         if not self.builder.customized:
             self.builder.customized = True
+            self.builder.configuration.initial_selected_image = self.builder.configuration.selected_image
             self.builder.configuration.selected_image = self.recipe_model.__custom_image__
             self.builder.rcppkglist_populated()