juergbi commented on issue #2082:
URL: https://github.com/apache/buildstream/issues/2082#issuecomment-4053252085

   `bst shell` without `--build` (i.e., a runtime shell) using `%{build-root}` 
(`/buildstream-build` in your example) as working directory was never 
intentional, as far as I remember. The build root doesn't really have a meaning 
in a runtime shell. Build shells still use and will continue to use the 
plugin-defined working directory, of course (typically `%{build-root}` or 
`%{build-root}/%{command-subdir}`).
   
   I think it would be reasonable to add a command-line option to `bst shell` 
to set a working directory if people think that would be useful. Also adding a 
`working-directory` option to the `shell` section in `project.conf` could be 
considered, although I think the CLI option is more useful and probably 
sufficient.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to