summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-12-27 22:53:34 +0100
committerJürg Billeter <j@bitron.ch>2019-01-06 18:57:33 +0100
commitf122cfe8d87b7200cc1d804533f9ead5fd0095ac (patch)
tree6a459e0029ecede77fc5eeced1e88e8e219e80ed
parentee29f207d497675cfc565151ce22a72f43f7b19f (diff)
downloadbuildstream-f122cfe8d87b7200cc1d804533f9ead5fd0095ac.tar.gz
_frontend/app.py: Use buildtree for interactive shell on build failure
Fixes: e29aea36 ("Basic options for shell --build to use buildtrees")
-rw-r--r--buildstream/_frontend/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py
index 96e3c60ae..063ca1ec2 100644
--- a/buildstream/_frontend/app.py
+++ b/buildstream/_frontend/app.py
@@ -599,7 +599,7 @@ class App():
click.echo("\nDropping into an interactive shell in the failed build sandbox\n", err=True)
try:
prompt = self.shell_prompt(element)
- self.stream.shell(element, Scope.BUILD, prompt, isolate=True)
+ self.stream.shell(element, Scope.BUILD, prompt, isolate=True, usebuildtree=True)
except BstError as e:
click.echo("Error while attempting to create interactive shell: {}".format(e), err=True)
elif choice == 'log':