Hob: Remove some calling of initiate_new_build()
initiate_new_build() function is in async mode and could not be called before another async function. Also we could not initialize the build if user simply change a setting, therefore remove this function. (Bitbake rev: c184cefe90115623e2312ad2bbe34ea95788c129) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9cc1e86356
commit
20ea123c28
|
@ -403,7 +403,6 @@ class ImageDetailsPage (HobPage):
|
|||
response, path = self.builder.show_load_template_dialog()
|
||||
if not response:
|
||||
return
|
||||
self.builder.initiate_new_build()
|
||||
if path:
|
||||
self.builder.load_template(path)
|
||||
|
||||
|
@ -415,6 +414,5 @@ class ImageDetailsPage (HobPage):
|
|||
response, settings_changed = self.builder.show_adv_settings_dialog()
|
||||
if not response:
|
||||
return
|
||||
self.builder.initiate_new_build()
|
||||
if settings_changed:
|
||||
self.builder.reparse_post_adv_settings()
|
||||
|
|
Loading…
Reference in New Issue