summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbst-marge-bot <marge-bot@buildstream.build>2019-11-08 17:19:33 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-11-08 17:19:33 +0000
commitb20ea08f3b3d987b077f53b7a90f29b6011c5d9a (patch)
tree73d48624fbd38448642d3fd55329da984906589a
parenta6c9c52a578e953bc4af64e300ca24cbde8eea4e (diff)
parent02d73480d9b1e99c776393d7c3a1ef733148046b (diff)
downloadbuildstream-b20ea08f3b3d987b077f53b7a90f29b6011c5d9a.tar.gz
Merge branch 'chandan/stack-no-sources' into 'master'
plugins/elements/stack: Disallow sources See merge request BuildStream/buildstream!1695
-rw-r--r--src/buildstream/plugins/elements/stack.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/stack.py b/src/buildstream/plugins/elements/stack.py
index dbb59a43d..267ac02ce 100644
--- a/src/buildstream/plugins/elements/stack.py
+++ b/src/buildstream/plugins/elements/stack.py
@@ -36,6 +36,9 @@ class StackElement(Element):
# This plugin does not produce any artifacts when built
BST_ELEMENT_HAS_ARTIFACT = False
+ # This element does not allow sources
+ BST_FORBID_SOURCES = True
+
def configure(self, node):
pass