summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-03-15 18:39:20 +0100
committerJürg Billeter <j@bitron.ch>2018-03-15 18:43:05 +0100
commit3861de9bc600a4ed24b1fc3c74133848e3d2a7e7 (patch)
treecac5d2f2d938fc569bb6b91c75634a79fde72898
parenta92f9ddbde28539ed78b3f3e260667e8171eb01f (diff)
downloadbuildstream-3861de9bc600a4ed24b1fc3c74133848e3d2a7e7.tar.gz
scriptelement.py: Mark install-root
This matches BuildElement.
-rw-r--r--buildstream/scriptelement.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/scriptelement.py b/buildstream/scriptelement.py
index e71d4b7ac..95e6928ee 100644
--- a/buildstream/scriptelement.py
+++ b/buildstream/scriptelement.py
@@ -211,6 +211,9 @@ class ScriptElement(Element):
else:
sandbox.mark_directory(item['destination'])
+ # Tell the sandbox to mount the install root
+ sandbox.mark_directory(self.__install_root)
+
def stage(self, sandbox):
# Stage the elements, and run integration commands where appropriate.