summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-11-19 08:07:34 +0100
committerJürg Billeter <j@bitron.ch>2018-11-27 13:44:49 +0000
commit79442e0a468dd8ce2fbc76b44fa30d934b43c555 (patch)
tree7ba70c264317ca4f153a9169696ee6a08f207f5e
parent73dec86ef667fd9ca4f51deefb123e5132543f98 (diff)
downloadbuildstream-79442e0a468dd8ce2fbc76b44fa30d934b43c555.tar.gz
compose.py: Support batching for integration commands
-rw-r--r--buildstream/plugins/elements/compose.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildstream/plugins/elements/compose.py b/buildstream/plugins/elements/compose.py
index 6b99947d5..d61a324cc 100644
--- a/buildstream/plugins/elements/compose.py
+++ b/buildstream/plugins/elements/compose.py
@@ -122,8 +122,9 @@ class ComposeElement(Element):
snapshot = set(vbasedir.list_relative_paths())
vbasedir.mark_unmodified()
- for dep in self.dependencies(Scope.BUILD):
- dep.integrate(sandbox)
+ with sandbox.batch(0):
+ for dep in self.dependencies(Scope.BUILD):
+ dep.integrate(sandbox)
if require_split:
# Calculate added, modified and removed files