summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-14 17:36:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-14 23:29:31 +0000
commitf00e5cf964d0ea48d517f0b8f9ca2aba646ea807 (patch)
treec2bc884ee3192895549745326c2752fe7200a206 /bitbake-dev/lib/bb/cooker.py
parenta7740492afa04d9a1bdcb907df91900d251fa29f (diff)
downloadpoky-f00e5cf964d0ea48d517f0b8f9ca2aba646ea807.tar.gz
bitbake-dev: Sync with upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
-rw-r--r--bitbake-dev/lib/bb/cooker.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py
index b2b237b4c7..1bf7d4bd14 100644
--- a/bitbake-dev/lib/bb/cooker.py
+++ b/bitbake-dev/lib/bb/cooker.py
@@ -25,7 +25,8 @@
25import sys, os, getopt, glob, copy, os.path, re, time 25import sys, os, getopt, glob, copy, os.path, re, time
26import bb 26import bb
27from bb import utils, data, parse, event, cache, providers, taskdata, runqueue 27from bb import utils, data, parse, event, cache, providers, taskdata, runqueue
28from bb import xmlrpcserver, command 28from bb import command
29import bb.server.xmlrpc
29import itertools, sre_constants 30import itertools, sre_constants
30 31
31class MultipleMatches(Exception): 32class MultipleMatches(Exception):
@@ -62,14 +63,13 @@ class BBCooker:
62 Manages one bitbake build run 63 Manages one bitbake build run
63 """ 64 """
64 65
65 def __init__(self, configuration): 66 def __init__(self, configuration, server):
66 self.status = None 67 self.status = None
67 68
68 self.cache = None 69 self.cache = None
69 self.bb_cache = None 70 self.bb_cache = None
70 71
71 self.server = bb.xmlrpcserver.BitBakeXMLRPCServer(self) 72 self.server = server.BitBakeServer(self)
72 #self.server.register_function(self.showEnvironment)
73 73
74 self.configuration = configuration 74 self.configuration = configuration
75 75
@@ -680,7 +680,7 @@ class BBCooker:
680 retval = False 680 retval = False
681 if not retval: 681 if not retval:
682 self.command.finishAsyncCommand() 682 self.command.finishAsyncCommand()
683 bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures)) 683 bb.event.fire(bb.event.BuildCompleted(buildname, item, self.configuration.event_data, failures))
684 return False 684 return False
685 return 0.5 685 return 0.5
686 686