From: Cristiana Voicu Date: Thu, 20 Jun 2013 14:21:16 +0000 (+0300) Subject: hob: replace the init cooker with reset in order to keep the history X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b8c0c09e09ab69edc53501b84050c797f0686e4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git hob: replace the init cooker with reset in order to keep the history When the cooker initialization is called, the variables history is lost. It need a reset, in order to load the configuration files. Also, concatenated the value for INHERIT variable. Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/crumbs/builder.py b/lib/bb/ui/crumbs/builder.py index 2f7c496feac..d5df60f6029 100755 --- a/lib/bb/ui/crumbs/builder.py +++ b/lib/bb/ui/crumbs/builder.py @@ -684,12 +684,11 @@ class Builder(gtk.Window): self.handler.set_sdk_machine(self.configuration.curr_sdk_machine) self.handler.set_image_fstypes(self.configuration.image_fstypes) self.handler.set_extra_config(self.configuration.extra_setting) - self.handler.set_extra_inherit("packageinfo") - self.handler.set_extra_inherit("image_types") + self.handler.set_extra_inherit("packageinfo image_types") self.set_user_config_proxies() def set_user_config(self): - self.handler.init_cooker() + self.handler.reset_cooker() # set bb layers self.handler.set_bblayers(self.configuration.layers) # set local configuration