summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake-worker2
-rw-r--r--bitbake/lib/bb/runqueue.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index 2f21e7c662..66b6aabfdb 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -148,6 +148,8 @@ def fork_off_task(cfg, data, workerdata, fn, task, taskname, appends, quieterror
148 148
149 data.setVar("BB_WORKERCONTEXT", "1") 149 data.setVar("BB_WORKERCONTEXT", "1")
150 data.setVar("BUILDNAME", workerdata["buildname"]) 150 data.setVar("BUILDNAME", workerdata["buildname"])
151 data.setVar("DATE", workerdata["date"])
152 data.setVar("TIME", workerdata["time"])
151 bb.parse.siggen.set_taskdata(workerdata["hashes"], workerdata["hash_deps"], workerdata["sigchecksums"]) 153 bb.parse.siggen.set_taskdata(workerdata["hashes"], workerdata["hash_deps"], workerdata["sigchecksums"])
152 ret = 0 154 ret = 0
153 try: 155 try:
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 8d36f282cc..79e612e032 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -853,6 +853,8 @@ class RunQueue:
853 "logdefaultdomain" : bb.msg.loggerDefaultDomains, 853 "logdefaultdomain" : bb.msg.loggerDefaultDomains,
854 "prhost" : self.cooker.prhost, 854 "prhost" : self.cooker.prhost,
855 "buildname" : self.cfgData.getVar("BUILDNAME", True), 855 "buildname" : self.cfgData.getVar("BUILDNAME", True),
856 "date" : self.cfgData.getVar("DATE", True),
857 "time" : self.cfgData.getVar("TIME", True),
856 } 858 }
857 859
858 worker.stdin.write("<cookerconfig>" + pickle.dumps(self.cooker.configuration) + "</cookerconfig>") 860 worker.stdin.write("<cookerconfig>" + pickle.dumps(self.cooker.configuration) + "</cookerconfig>")