diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-25 19:13:59 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-25 19:13:59 +0900 |
commit | 85810f0bbd974a553bdff431d9d091d0613cd293 (patch) | |
tree | c2623c259bebf9a5f503a3f1d8ac0c781b7754e8 /buildstream/buildelement.py | |
parent | 50361c9b67e03afc53b0d8f494bafb349323a09e (diff) | |
download | buildstream-85810f0bbd974a553bdff431d9d091d0613cd293.tar.gz |
buildelement.py: Run Element.integrate() on all staged dependencies.
Ensure that caches are updated and system is runnable before running
any shell commands.
Diffstat (limited to 'buildstream/buildelement.py')
-rw-r--r-- | buildstream/buildelement.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py index 221a3f491..580f8dea3 100644 --- a/buildstream/buildelement.py +++ b/buildstream/buildelement.py @@ -62,6 +62,11 @@ class BuildElement(Element): for dep in self.dependencies(Scope.BUILD): dep.stage(sandbox) + # Run any integration commands provided by the dependencies + # once they are all staged and ready + for dep in self.dependencies(Scope.BUILD): + dep.integrate(sandbox) + # Stage sources in /buildstream/build self.stage_sources(sandbox, '/buildstream/build') |