summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/elements/stack.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins/elements/stack.py')
-rw-r--r--src/buildstream/plugins/elements/stack.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/stack.py b/src/buildstream/plugins/elements/stack.py
index 97517ca48..65823387b 100644
--- a/src/buildstream/plugins/elements/stack.py
+++ b/src/buildstream/plugins/elements/stack.py
@@ -33,6 +33,10 @@ class StackElement(Element):
# This plugin has been modified to avoid the use of Sandbox.get_directory
BST_VIRTUAL_DIRECTORY = True
+ # Stack elements merely represent a logical group of elements. For this
+ # reason, sources do not make sense.
+ BST_FORBID_SOURCES = True
+
def configure(self, node):
pass