summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2017-06-14 12:59:32 +0100
committerBen Brown <ben.brown@codethink.co.uk>2017-06-14 13:08:50 +0100
commit9a4fbecf3abcf6510cbf43c6e3372e543c60be41 (patch)
tree03648a14f8ea0ed553f0372d76e90e6c99b46057
parentea244d81fe52259fa3ce4cd611a49d015add40e1 (diff)
downloadybd-benbrown/rpm-strata-chunks.tar.gz
Pass assembly.compose to install_dependenciesbenbrown/rpm-strata-chunks
It's possible for dependencies to not be cached at this point, while we don't strictly need all dependencies for generating the rpm, we require a suitable staging area with the rpm and rpmbuild binaries.
-rw-r--r--ybd/rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/rpm.py b/ybd/rpm.py
index cdf515c..4f8856b 100644
--- a/ybd/rpm.py
+++ b/ybd/rpm.py
@@ -515,7 +515,7 @@ def package_rpms(system, whitelist=None):
with sandbox.setup(system):
assembly.install_contents(system)
if system.get('kind') != "system":
- assembly.install_dependencies(system)
+ assembly.install_dependencies(system, assembly.compose)
# Fail now if missing `rpm` or `rpmbuild`
env_vars = sandbox.env_vars_for_build(system)