Skip to content

Commit 23bccd9

Browse files
committed
docs: add tips and tricks page
- and add first entry about python versions for building Intel FSP Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
1 parent 2d484ca commit 23bccd9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- [GitHub CI](firmware-action/usage_github.md)
2020
- [Configuration](firmware-action/config.md)
2121
- [Troubleshooting](firmware-action/troubleshooting.md)
22+
- [Tips and Tricks](firmware-action/tips.md)
2223
- [Features](firmware-action/features.md)
2324
- [Build Docker container on the fly](firmware-action/build_dockerfile_on_the_fly.md)
2425
- [Interactive debugging](firmware-action/interactive.md)

docs/src/firmware-action/tips.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Tips and Tricks
2+
3+
## Python2 for building Intel FSP
4+
5+
Intel FSP can be build in the EDK2 containers. However the containers often have `Python3` as default.
6+
7+
Most `EDK2` containers have `Python2` installed and contain script `switch-to-python2` (`/bin/switch-to-python2`) which will let you easily switch to `Python2` as default.
8+
9+
```admonish tip
10+
To see which python version are installed and which python version is used as default, look into our [compose.yaml](https://github.com/9elements/firmware-action/blob/main/docker/compose.yaml). Specifically, look into `edk2` containers and their arguments `PYTHON_PACKAGES` (which python versions are installed) and `PYTHON_VERSION` (which python version is the default).
11+
```

0 commit comments

Comments
 (0)