Dockerfile: Include python3-tk for FATtools
PATCH v2 1/1 Dockerfile: Include python3-tk for FATtools
In some cases our tests for exFAT don't run because we fail to be able to create the underlying image. This is in turn because while creation of the image succeeds, it seems that some way of how we invoke FATtools wants to import tkinter, that fails and so the test stops there. Having tkinter available (and then presumably a fallback to non-GUI because it's not available) leads to the tests running as expected.
---
Changes in v2:
- Alphabetize, per Marek
--- tools/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+)
tools/docker/Dockerfile +1 -0
@@ -126,6 +126,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ python3-pip \ python3-pyelftools \ python3-sphinx \ + python3-tk \ python3-tomli \ python3-venv \ rpm2cpio \
Signature · 1 line
2.43.0
Quoted 7 lines · Tom Rini
In some cases our tests for exFAT don't run because we fail to be able to create the underlying image. This is in turn because while creation of the image succeeds, it seems that some way of how we invoke FATtools wants to import tkinter, that fails and so the test stops there. Having tkinter available (and then presumably a fallback to non-GUI because it's not available) leads to the tests running as expected.
Quoted 5 lines
Signed-off-by Tom Rini <[email protected]>---
Changes in v2:
- Alphabetize, per Marek
Thanks
Quoted 8 lines · Tom Rini
In some cases our tests for exFAT don't run because we fail to be able to create the underlying image. This is in turn because while creation of the image succeeds, it seems that some way of how we invoke FATtools wants to import tkinter, that fails and so the test stops there. Having tkinter available (and then presumably a fallback to non-GUI because it's not available) leads to the tests running as expected.
[...]
Applied to u-boot/master, thanks!
[1/1] Dockerfile: Include python3-tk for FATtools
commit: bc4a1e56bfcdd70a5307c91c94dafcf6bb27da93
Signature · 1 line
Tom