summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-11 12:16:01 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-11 13:16:19 +0100
commitd0d3f0066bed3c13785c9bcbd63104952e082fea (patch)
tree6bf60bc3deb4ab59522ccbd6e5e4f19ab7c1d395 /morphlib/app.py
parent990e0385c53dda3334fba91eadaac0d358276a52 (diff)
downloadmorph-d0d3f0066bed3c13785c9bcbd63104952e082fea.tar.gz
Do not uselessly fill staging area for strata
We don't use the contents of the staging area during a stratum artifact build, so there's no pointin putting in the staging filler and build dependencies there.
Diffstat (limited to 'morphlib/app.py')
-rwxr-xr-xmorphlib/app.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 64c1b6b7..ebe9be1e 100755
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -208,9 +208,10 @@ class BuildCommand(object):
self.cache_artifacts_locally(deps)
staging_area = self.create_staging_area(artifact)
if self.app.settings['staging-chroot']:
- self.install_fillers(staging_area)
- self.install_chunk_artifacts(staging_area,
- deps)
+ if artifact.source.morphology['kind'] != 'stratum':
+ self.install_fillers(staging_area)
+ self.install_chunk_artifacts(staging_area,
+ deps)
self.build_and_cache(staging_area, artifact)
if self.app.settings['bootstrap']:
self.install_chunk_artifacts(staging_area,