Patchwork [3/3] hob: enable package only builds even if an image has been built

login
register
mail settings
Submitter Joshua Lock
Date Sept. 19, 2011, 10:41 p.m.
Message ID <705156e2812afb288632f01416fcbbf9add26bee.1316471892.git.josh@linux.intel.com>
Download mbox | patch
Permalink /patch/11727/
State New, archived
Headers show

Comments

Joshua Lock - Sept. 19, 2011, 10:41 p.m.
Once an image build has been performed the selected_image variable would
prevent the package only build choice being triggered - by setting the
variable to None on reset we are able to perform package only builds after
an image build.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 lib/bb/ui/hob.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index 0f738ce..e696314 100644
--- a/lib/bb/ui/hob.py
+++ b/lib/bb/ui/hob.py
@@ -322,6 +322,7 @@  class MainWindow (gtk.Window):
         if response == gtk.RESPONSE_OK:
             self.reset_build()
             self.search.set_text("")
+            self.selected_image = None
         return
 
     def reset_build(self):