summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2017-05-09 14:38:59 +0100
committerJonathan Maw <jonathan.maw@codethink.co.uk>2017-05-12 14:13:31 +0100
commit1cd6f23f136360c07c7b381efcf9368c760f8dd1 (patch)
tree479fd2810dbc99a30609a8081923b725e7f42cbc
parent1fad06afd68d0d10eb024f123d19be9ea4a10091 (diff)
downloadybd-1cd6f23f136360c07c7b381efcf9368c760f8dd1.tar.gz
Do not parallelize rpm assemblystaging/jonathan/rpm-export-parallel
-rwxr-xr-xybd/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ybd/__main__.py b/ybd/__main__.py
index 614d8f3..926a589 100755
--- a/ybd/__main__.py
+++ b/ybd/__main__.py
@@ -123,7 +123,8 @@ with timer('TOTAL'):
log(target, 'Exiting: uncaught exception')
os._exit(1)
- if config.get('generate-rpms', False) is not False:
+ if (config.get('generate-rpms', False) is not False
+ and 'fork' not in config):
# The generate-rpms setting can be 'True' to generate
# all rpms, or it can be a list of chunk names for which