diff options
Diffstat (limited to 'bitbake/bin/bitbake-worker')
-rwxr-xr-x | bitbake/bin/bitbake-worker | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index 1926b89882..500f2ad161 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -195,7 +195,8 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, append | |||
195 | 195 | ||
196 | try: | 196 | try: |
197 | bb_cache = bb.cache.NoCache(databuilder) | 197 | bb_cache = bb.cache.NoCache(databuilder) |
198 | the_data = databuilder.data | 198 | (realfn, virtual, mc) = bb.cache.virtualfn2realfn(fn) |
199 | the_data = databuilder.mcdata[mc] | ||
199 | the_data.setVar("BB_WORKERCONTEXT", "1") | 200 | the_data.setVar("BB_WORKERCONTEXT", "1") |
200 | the_data.setVar("BB_TASKDEPDATA", taskdepdata) | 201 | the_data.setVar("BB_TASKDEPDATA", taskdepdata) |
201 | the_data.setVar("BUILDNAME", workerdata["buildname"]) | 202 | the_data.setVar("BUILDNAME", workerdata["buildname"]) |
@@ -374,7 +375,8 @@ class BitbakeWorker(object): | |||
374 | bb.msg.loggerDefaultVerbose = self.workerdata["logdefaultverbose"] | 375 | bb.msg.loggerDefaultVerbose = self.workerdata["logdefaultverbose"] |
375 | bb.msg.loggerVerboseLogs = self.workerdata["logdefaultverboselogs"] | 376 | bb.msg.loggerVerboseLogs = self.workerdata["logdefaultverboselogs"] |
376 | bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"] | 377 | bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"] |
377 | self.data.setVar("PRSERV_HOST", self.workerdata["prhost"]) | 378 | for mc in self.databuilder.mcdata: |
379 | self.databuilder.mcdata[mc].setVar("PRSERV_HOST", self.workerdata["prhost"]) | ||
378 | 380 | ||
379 | def handle_ping(self, _): | 381 | def handle_ping(self, _): |
380 | workerlog_write("Handling ping\n") | 382 | workerlog_write("Handling ping\n") |