BST-SHELL(1)
β¨ bst-shell β the shell-into-a-sandbox page, bestie edition β¨
okay so welcome to the bst shell manual, literally the manual for the bst shell command π
buckle up because we're getting you into an element's sandbox and it's giving main character energy π¦
πΈ NAME πΈ
bst-shell β shell into an element's sandbox environment πβ¨
π SYNOPSIS π
bst shell [OPTIONS] [TARGET] [COMMAND]...
that's it, that's the whole vibe. periodt.
π DESCRIPTION π
Run a command in the target element's sandbox environment. no cap, that's the whole job.
When this command is executed from a workspace directory, the default is to shell into the workspace element. like, it just knows. iykyk π§
This will stage a temporary sysroot for running the target element, assuming it has already been built and all required artifacts are in the local cache. so fr fr, make sure it's built first or you're gonna be sitting there like π
Use -- to separate a command from the options to bst, otherwise bst may respond to them instead. this is THE rule, bestie, do not skip it. e.g.
bst shell example.bst -- df -h
Use the --build option to create a temporary sysroot for building the element instead. two moods: running mood and building mood π
If no COMMAND is specified, the default is to attempt to run an interactive shell. yes queen, you just get dropped into a shell, iconic π
β¨ OPTIONS β¨
-b,--buildβ Stage dependencies and sources to build. it's the building era ποΈ--mount HOSTPATH PATHβ Mount a file or directory into the sandbox. bring your stuff with you π--isolateβ Create an isolated build sandbox. alone time, but make it builds π¦-t,--use-buildtreeβ Stage a buildtree. Will fail if a buildtree is not available.pull-buildtreesconfiguration is needed if the buildtree is not available locally. so like, if it's not there locally you gotta have that config or it's just not happening π--artifact-remote REMOTEβ A remote for uploading and downloading artifacts. artifacts need a home too π--source-remote REMOTEβ A remote for uploading and downloading cached sources. sources, but make it remote π¦--ignore-project-artifact-remotesβ Ignore remote artifact cache servers recommended by projects. not me ignoring the project's suggestions π--ignore-project-source-remotesβ Ignore remote source cache servers recommended by projects. same energy, but for sources π
heads up bestie: that--thing in the description? it's not decorative. if you don't use it,bstmight eat your command's options and you'll be so confused. protect your flags π«Ά
and that's the whole page!! this was bst shell from the bst shell manual, version 2.5, dated 2025-05-09 π thanks for reading, go stage that sysroot, slay, and remember: no cap, use the -- π
π¦ where this page comes from
- fedora 43: buildstream 2.5.0-16.fc43 Β· Apache-2.0
- fedora 43: buildstream 2.8.1-1.fc43 Β· Apache-2.0
- fedora 44: buildstream 2.7.0-1.fc44 Β· Apache-2.0
- fedora 44: buildstream 2.8.1-1.fc44 Β· Apache-2.0
- nixpkgs unstable: buildstream 2.8.1
- ubuntu stonking: buildstream 2.8.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms