summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-10 09:23:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-11 10:05:30 +0100
commit2995b8d551e0532eca20f8862730acd062c608ad (patch)
treea84eadf85005a32ce646a095df02658007c66ef3
parent728ffde1bd69b880d48fe8523b1616956d13616e (diff)
downloadbitbake-2995b8d551e0532eca20f8862730acd062c608ad.tar.gz
bitbake/runqueue: Drop check_stamp_fn, it's obsolete and should not be used
This function was used by old code such as packaged staging but is thankfully obsolete now and replaced with better mechanisms. Its time to remove it and the horrible internal only variables associated with it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/runqueue.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index e1e8ff041..d925b4c2b 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1091,8 +1091,6 @@ class RunQueueExecute:
os.umask(umask)
self.cooker.configuration.data.setVar("BB_WORKERCONTEXT", "1")
- self.cooker.configuration.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", self)
- self.cooker.configuration.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2", fn)
bb.parse.siggen.set_taskdata(self.rqdata.hashes, self.rqdata.hash_deps)
ret = 0
try:
@@ -1703,15 +1701,6 @@ class runQueueTaskCompleted(runQueueEvent):
Event notifing a task completed
"""
-def check_stamp_fn(fn, taskname, d):
- rqexe = d.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY")
- fn = d.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2")
- fnid = rqexe.rqdata.taskData.getfn_id(fn)
- taskid = rqexe.rqdata.get_task_id(fnid, taskname)
- if taskid is not None:
- return rqexe.rq.check_stamp_task(taskid)
- return None
-
class runQueuePipe():
"""
Abstraction for a pipe between a worker thread and the server