diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index ec3ff30488..d10c681df9 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -439,6 +439,9 @@ class Builder(gtk.Window): | |||
439 | # Indicate whether the UI is working | 439 | # Indicate whether the UI is working |
440 | self.sensitive = True | 440 | self.sensitive = True |
441 | 441 | ||
442 | # Indicate whether the sanity check ran | ||
443 | self.sanity_checked = False | ||
444 | |||
442 | # create visual elements | 445 | # create visual elements |
443 | self.create_visual_elements() | 446 | self.create_visual_elements() |
444 | 447 | ||
@@ -543,7 +546,8 @@ class Builder(gtk.Window): | |||
543 | sanity_check_post_func = func | 546 | sanity_check_post_func = func |
544 | 547 | ||
545 | def generate_configuration(self): | 548 | def generate_configuration(self): |
546 | self.show_sanity_check_page() | 549 | if not self.sanity_checked: |
550 | self.show_sanity_check_page() | ||
547 | self.handler.generate_configuration() | 551 | self.handler.generate_configuration() |
548 | 552 | ||
549 | def initiate_new_build_async(self): | 553 | def initiate_new_build_async(self): |
@@ -835,7 +839,9 @@ class Builder(gtk.Window): | |||
835 | if not self.configuration.curr_mach: | 839 | if not self.configuration.curr_mach: |
836 | self.configuration.curr_mach = self.handler.runCommand(["getVariable", "HOB_MACHINE"]) or "" | 840 | self.configuration.curr_mach = self.handler.runCommand(["getVariable", "HOB_MACHINE"]) or "" |
837 | self.update_configuration_parameters(self.get_parameters_sync()) | 841 | self.update_configuration_parameters(self.get_parameters_sync()) |
838 | self.sanity_check() | 842 | if not self.sanity_checked: |
843 | self.sanity_check() | ||
844 | self.sanity_checked = True | ||
839 | elif initcmd == self.handler.SANITY_CHECK: | 845 | elif initcmd == self.handler.SANITY_CHECK: |
840 | if self.had_network_error: | 846 | if self.had_network_error: |
841 | self.had_network_error = False | 847 | self.had_network_error = False |