mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1525373 - Support comm-checkout when using generic-worker with run-task. r=glandium
Fixes Thunderbird builds on Windows. Differential Revision: https://phabricator.services.mozilla.com/D39269 --HG-- extra : rebase_source : d7bbec2ac711fea9dc785861f7d729816890efb8
This commit is contained in:
parent
bfcfe34e57
commit
6808dc0e6f
@ -169,6 +169,10 @@ def generic_worker_run_task(config, job, taskdesc):
|
||||
run_command = '"{}"'.format(run_command)
|
||||
run_command = ['bash', '-cx', run_command]
|
||||
|
||||
if run['comm-checkout']:
|
||||
command.append('--comm-checkout={}/comm'.format(
|
||||
taskdesc['worker']['env']['GECKO_PATH']))
|
||||
|
||||
if run['run-as-root']:
|
||||
command.extend(('--user', 'root', '--group', 'root'))
|
||||
command.append('--')
|
||||
|
Loading…
Reference in New Issue
Block a user