From: Joshua Lock Date: Fri, 8 Oct 2010 15:54:19 +0000 (+0100) Subject: bitbake/runqueue: make the runtask program configurable X-Git-Tag: 2011-1~4270 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=812f8835d2590ceccb067bae79f06c253140d290;p=openembedded-core.git bitbake/runqueue: make the runtask program configurable Signed-off-by: Joshua Lock --- diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 978e429d58..9befe976d1 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1072,7 +1072,8 @@ class RunQueueExecute: sys.stdout.flush() sys.stderr.flush() - proc = subprocess.Popen(["bitbake-runtask", self.rqdata.hashfile, fn, taskname, str(self.cooker.configuration.dry_run)], env=env, stdout=subprocess.PIPE, stdin=subprocess.PIPE) + runtask = the_data.getVar("BB_RUNTASK", True) or "bitbake-runtask" + proc = subprocess.Popen([runtask, self.rqdata.hashfile, fn, taskname, str(self.cooker.configuration.dry_run)], env=env, stdout=subprocess.PIPE, stdin=subprocess.PIPE) pipein = proc.stdout pipeout = proc.stdin pid = proc.pid