* [PATCH] bitbake/runqueue: Drop check_stamp_fn, its obsolete and should not be used
@ 2012-05-10 8:23 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-05-10 8:23 UTC (permalink / raw)
To: bitbake-devel
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>
---
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 8d56331..5bf9056 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1080,8 +1080,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:
@@ -1692,15 +1690,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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-10 8:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-10 8:23 [PATCH] bitbake/runqueue: Drop check_stamp_fn, its obsolete and should not be used Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox