summaryrefslogtreecommitdiff
path: root/src/buildstream
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-10-23 15:29:25 +0100
committerDarius Makovsky <traveltissues@protonmail.com>2019-10-23 16:11:50 +0100
commit712a9467bcdbba3fea22512c982a9536ee03d897 (patch)
treebccd3a369131697f64eb47d287645f1e01c1fbbf /src/buildstream
parentc28e3ebe665700df40cf9b4236f6777e5e7c6e74 (diff)
downloadbuildstream-712a9467bcdbba3fea22512c982a9536ee03d897.tar.gz
skip stage in stage previous sourcesstraveltissues/1161-3
Diffstat (limited to 'src/buildstream')
-rw-r--r--src/buildstream/source.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index cfaba2e6d..ab54ede01 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -1206,6 +1206,8 @@ class Source(Plugin):
directory = FileBasedDirectory(external_directory=tempdir)
for src in sources:
+ if src.BST_NO_PRESTAGE_KEY:
+ continue
if src.BST_STAGE_VIRTUAL_DIRECTORY:
src._stage(directory)
else: