summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-09-19 15:28:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-20 22:24:10 +0100
commit6bed96c4dc267610463e056fc952822beda700a6 (patch)
tree8747c09ee28507073b20c5be627a028e86d2d6f0 /bitbake/lib
parent081990b2a3d27c83f17d79265d0c77271e9d6638 (diff)
downloadpoky-6bed96c4dc267610463e056fc952822beda700a6.tar.gz
hob: enable package only builds even if an image has been built
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. (Bitbake rev: 705156e2812afb288632f01416fcbbf9add26bee) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/hob.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 0f738ce4b5..e696314358 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -322,6 +322,7 @@ class MainWindow (gtk.Window):
322 if response == gtk.RESPONSE_OK: 322 if response == gtk.RESPONSE_OK:
323 self.reset_build() 323 self.reset_build()
324 self.search.set_text("") 324 self.search.set_text("")
325 self.selected_image = None
325 return 326 return
326 327
327 def reset_build(self): 328 def reset_build(self):