summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-10-08 16:54:19 +0100
committerJoshua Lock <josh@linux.intel.com>2010-10-12 13:32:27 +0100
commit812f8835d2590ceccb067bae79f06c253140d290 (patch)
treed48395f676f195824950004a288ee8dffaf53391 /bitbake/lib/bb
parent35f36bac4202eaa88f8bd6d972fcb242f8571a73 (diff)
downloadopenembedded-core-812f8835d2590ceccb067bae79f06c253140d290.tar.gz
openembedded-core-812f8835d2590ceccb067bae79f06c253140d290.tar.bz2
openembedded-core-812f8835d2590ceccb067bae79f06c253140d290.zip
bitbake/runqueue: make the runtask program configurable
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/runqueue.py3
1 files changed, 2 insertions, 1 deletions
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