summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 66dffac223..4ed65900cd 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -77,7 +77,7 @@ class HobHandler(gobject.GObject):
77 self.generating = False 77 self.generating = False
78 self.build_queue = [] 78 self.build_queue = []
79 self.current_phase = None 79 self.current_phase = None
80 self.image_dir = None 80 self.image_dir = os.path.join(tempfile.gettempdir(), 'hob-images')
81 81
82 self.model = taskmodel 82 self.model = taskmodel
83 self.server = server 83 self.server = server
@@ -329,7 +329,6 @@ class HobHandler(gobject.GObject):
329 return self.server.runCommand(["getVariable", "DEPLOY_DIR_IMAGE"]) 329 return self.server.runCommand(["getVariable", "DEPLOY_DIR_IMAGE"])
330 330
331 def make_temp_dir(self): 331 def make_temp_dir(self):
332 self.image_dir = os.path.join(tempfile.gettempdir(), 'hob-images')
333 bb.utils.mkdirhier(self.image_dir) 332 bb.utils.mkdirhier(self.image_dir)
334 333
335 def remove_temp_dir(self): 334 def remove_temp_dir(self):