Skip to content

Commit

Permalink
Doc: Document bitbake.shellEnv option
Browse files Browse the repository at this point in the history
  • Loading branch information
deribaucourt committed Dec 5, 2023
1 parent fe2d936 commit f75a4e4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ Or, if `pathToEnvScript` and `pathToBuildFolder` are defined:
```shell
$ $commandWrapper ". $pathToEnvScript $pathToBuildFolder && bitbake core-image-minimal"
```
You can also control the directory from which they are started by using the `bitbake.workingDirectory` option as well as the shell environment variables with `bitbake.shellEnv`.

Here are some examples using the most popular bitbake wrappers. You can also control the directory from which they are started by using the `bitbake.workingDirectory` option:
Here are some examples using the most popular bitbake wrappers:
```json
{
"bitbake.commandWrapper": "docker run --rm -v ${workspaceFolder}:${workspaceFolder} crops/poky --workdir=${workspaceFolder} /bin/bash -c",
Expand All @@ -38,7 +39,12 @@ Here are some examples using the most popular bitbake wrappers. You can also con
"bitbake.commandWrapper": "kas shell -c",
"bitbake.workingDirectory": "${workspaceFolder}/yocto"
}
{ "bitbake.commandWrapper": "cqfd run" }
{
"bitbake.commandWrapper": "cqfd run",
"bitbake.shellEnv": {
"CQFD_EXTRA_RUN_ARGS": "-e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix"
}
}
{ "bitbake.commandWrapper": "${workspaceFolder}/build.sh --" }
```

Expand Down

0 comments on commit f75a4e4

Please sign in to comment.