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

Submitted by Joshua Lock on Sept. 19, 2011, 10:41 p.m.


Message ID 705156e2812afb288632f01416fcbbf9add26bee.1316471892.git.josh@linux.intel.com
State New, archived
Headers show

Commit Message

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 hide | download patch | download mbox

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.selected_image = None
     def reset_build(self):