diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-10 09:23:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-11 11:54:27 +0100 |
commit | 59ca57cd23490e48559235a6c08b4652f4b101e0 (patch) | |
tree | df802abaeea2c95cc746de4a716f3de2461cfd0f /bitbake/lib/bb | |
parent | be4f8e368c261854cad365161c302b8cc1bb3c7b (diff) | |
download | poky-59ca57cd23490e48559235a6c08b4652f4b101e0.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.
(Bitbake rev: 2995b8d551e0532eca20f8862730acd062c608ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index e1e8ff0417..d925b4c2b7 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1091,8 +1091,6 @@ class RunQueueExecute: | |||
1091 | os.umask(umask) | 1091 | os.umask(umask) |
1092 | 1092 | ||
1093 | self.cooker.configuration.data.setVar("BB_WORKERCONTEXT", "1") | 1093 | self.cooker.configuration.data.setVar("BB_WORKERCONTEXT", "1") |
1094 | self.cooker.configuration.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", self) | ||
1095 | self.cooker.configuration.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2", fn) | ||
1096 | bb.parse.siggen.set_taskdata(self.rqdata.hashes, self.rqdata.hash_deps) | 1094 | bb.parse.siggen.set_taskdata(self.rqdata.hashes, self.rqdata.hash_deps) |
1097 | ret = 0 | 1095 | ret = 0 |
1098 | try: | 1096 | try: |
@@ -1703,15 +1701,6 @@ class runQueueTaskCompleted(runQueueEvent): | |||
1703 | Event notifing a task completed | 1701 | Event notifing a task completed |
1704 | """ | 1702 | """ |
1705 | 1703 | ||
1706 | def check_stamp_fn(fn, taskname, d): | ||
1707 | rqexe = d.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY") | ||
1708 | fn = d.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2") | ||
1709 | fnid = rqexe.rqdata.taskData.getfn_id(fn) | ||
1710 | taskid = rqexe.rqdata.get_task_id(fnid, taskname) | ||
1711 | if taskid is not None: | ||
1712 | return rqexe.rq.check_stamp_task(taskid) | ||
1713 | return None | ||
1714 | |||
1715 | class runQueuePipe(): | 1704 | class runQueuePipe(): |
1716 | """ | 1705 | """ |
1717 | Abstraction for a pipe between a worker thread and the server | 1706 | Abstraction for a pipe between a worker thread and the server |