Skip to content

Commit

Permalink
development: bootstrap: update update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander committed Jun 28, 2023
1 parent 618d041 commit 0bdca72
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions development/bootstrap/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It is [not yet possible to (nicely) update bootstrap through the BlueOS interfac

BlueOS-bootstrap versions are built at the same time as BlueOS-core versions, and they get bundled together in the Raspberry Pi images that can be flashed onto an SD card to install BlueOS onto it. Updating BlueOS-bootstrap without flashing an SD card is currently only possible through the [Terminal](../../advanced-usage#terminal):

```shell
```sh
# drop down from blueos-core into the underlying operating system:
red-pill
# get the running bootstrap container id
Expand All @@ -45,8 +45,8 @@ docker container rm $CURRENT_BOOTSTRAP_CONTAINER
# specify the Docker image source (use your account if testing a change)
BOOTSTRAP_REPO=bluerobotics
BOOTSTRAP_IMAGE=blueos-bootstrap
# specify the new version to use (e.g. 1.1.0-beta.22, or master)
NEW_BOOTSTRAP_VERSION=1.1.0-beta.22
# specify the new version to use (e.g. 1.1.0-beta.23, or master)
NEW_BOOTSTRAP_VERSION=1.1.0-beta.23
# start running the new version
# (will automatically download if it's not already available locally)
docker run \
Expand All @@ -58,8 +58,7 @@ docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
-e BLUEOS_CONFIG_PATH=/root/.config/blueos \
$BOOTSTRAP_REPO/$BOOTSTRAP_IMAGE:$NEW_BOOTSTRAP_VERSION
# view the logs, to check that it's repeatedly printing
# "core is already running, waiting for it to stop..."
# view the logs, to check for any error or progress messages
docker logs -f $BOOTSTRAP_IMAGE
# press ctrl+c to return to the terminal, and you're done
# if you want, type 'exit' or 'logout' to return to the BlueOS-core container
Expand Down

0 comments on commit 0bdca72

Please sign in to comment.