diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-10-08 16:54:19 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-10-12 13:32:27 +0100 |
commit | 812f8835d2590ceccb067bae79f06c253140d290 (patch) | |
tree | d48395f676f195824950004a288ee8dffaf53391 /bitbake | |
parent | 35f36bac4202eaa88f8bd6d972fcb242f8571a73 (diff) | |
download | openembedded-core-812f8835d2590ceccb067bae79f06c253140d290.tar.gz openembedded-core-812f8835d2590ceccb067bae79f06c253140d290.tar.bz2 openembedded-core-812f8835d2590ceccb067bae79f06c253140d290.tar.xz openembedded-core-812f8835d2590ceccb067bae79f06c253140d290.zip |
bitbake/runqueue: make the runtask program configurable
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 978e429d5..9befe976d 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 |