| 1 |
.TH "BST SHELL" "1" "2025-05-09" "2.5" "bst shell Manual" |
| 2 |
.SH NAME |
| 3 |
bst\-shell \- Shell into an element's sandbox environment |
| 4 |
.SH SYNOPSIS |
| 5 |
.B bst shell |
| 6 |
[OPTIONS] [TARGET] [COMMAND]... |
| 7 |
.SH DESCRIPTION |
| 8 |
Run a command in the target element's sandbox environment |
| 9 |
.PP |
| 10 |
When this command is executed from a workspace directory, the default |
| 11 |
is to shell into the workspace element. |
| 12 |
.PP |
| 13 |
This will stage a temporary sysroot for running the target |
| 14 |
element, assuming it has already been built and all required |
| 15 |
artifacts are in the local cache. |
| 16 |
.PP |
| 17 |
Use '--' to separate a command from the options to bst, |
| 18 |
otherwise bst may respond to them instead. e.g. |
| 19 |
.PP |
| 20 |
|
| 21 |
bst shell example.bst -- df -h |
| 22 |
.PP |
| 23 |
Use the --build option to create a temporary sysroot for |
| 24 |
building the element instead. |
| 25 |
.PP |
| 26 |
If no COMMAND is specified, the default is to attempt |
| 27 |
to run an interactive shell. |
| 28 |
|
| 29 |
.SH OPTIONS |
| 30 |
.TP |
| 31 |
\fB\-b,\fP \-\-build |
| 32 |
Stage dependencies and sources to build |
| 33 |
.TP |
| 34 |
\fB\-\-mount\fP HOSTPATH PATH |
| 35 |
Mount a file or directory into the sandbox |
| 36 |
.TP |
| 37 |
\fB\-\-isolate\fP |
| 38 |
Create an isolated build sandbox |
| 39 |
.TP |
| 40 |
\fB\-t,\fP \-\-use\-buildtree |
| 41 |
Stage a buildtree. Will fail if a buildtree is not available. pull-buildtrees configuration is needed if the buildtree is not available locally. |
| 42 |
.TP |
| 43 |
\fB\-\-artifact\-remote\fP REMOTE |
| 44 |
A remote for uploading and downloading artifacts |
| 45 |
.TP |
| 46 |
\fB\-\-source\-remote\fP REMOTE |
| 47 |
A remote for uploading and downloading cached sources |
| 48 |
.TP |
| 49 |
\fB\-\-ignore\-project\-artifact\-remotes\fP |
| 50 |
Ignore remote artifact cache servers recommended by projects |
| 51 |
.TP |
| 52 |
\fB\-\-ignore\-project\-source\-remotes\fP |
| 53 |
Ignore remote source cache servers recommended by projects |