diff options
-rw-r--r-- | lib/bb/cooker.py | 4 | ||||
-rw-r--r-- | lib/bb/runqueue.py | 2 | ||||
-rw-r--r-- | lib/bb/shell.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index c02e98071..3e748f0cd 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -195,7 +195,7 @@ class BBCooker: except bb.providers.NoProvider: sys.exit(1) rq = bb.runqueue.RunQueue() - rq.prepare_runqueue(self.configuration.data, self.status, taskdata, runlist) + rq.prepare_runqueue(self, self.configuration.data, self.status, taskdata, runlist) seen_fnids = [] depends_file = file('depends.dot', 'w' ) @@ -531,7 +531,7 @@ class BBCooker: sys.exit(1) rq = bb.runqueue.RunQueue() - rq.prepare_runqueue(self.configuration.data, self.status, taskdata, runlist) + rq.prepare_runqueue(self, self.configuration.data, self.status, taskdata, runlist) try: failures = rq.execute_runqueue(self, self.configuration.data, self.status, taskdata, runlist) except runqueue.TaskFailure, fnids: diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 01fa280b4..e001e12f5 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -51,7 +51,7 @@ class RunQueue: taskname = self.runq_task[task] return "%s, %s" % (fn, taskname) - def prepare_runqueue(self, cfgData, dataCache, taskData, targets): + def prepare_runqueue(self, cooker, cfgData, dataCache, taskData, targets): """ Turn a set of taskData into a RunQueue and compute data needed to optimise the execution order. diff --git a/lib/bb/shell.py b/lib/bb/shell.py index 2f908c213..7919145c1 100644 --- a/lib/bb/shell.py +++ b/lib/bb/shell.py @@ -171,7 +171,7 @@ class BitBakeShellCommands: td.add_unresolved(cooker.configuration.data, cooker.status) rq = runqueue.RunQueue() - rq.prepare_runqueue(cooker.configuration.data, cooker.status, td, tasks) + rq.prepare_runqueue(cooker, cooker.configuration.data, cooker.status, td, tasks) rq.execute_runqueue(cooker, cooker.configuration.data, cooker.status, td, tasks) except Providers.NoProvider: |