Dockerfile: Include python3-tk for FATtools
PATCH 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.
---
Cc: Marek Vasut <[email protected]>
--- tools/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+)
tools/docker/Dockerfile +1 -0
@@ -127,6 +127,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ python3-pyelftools \ python3-sphinx \ python3-tomli \ + python3-tk \ python3-venv \ rpm2cpio \ sbsigntool \
Signature · 1 line
2.43.0
Quoted 19 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.
Signed-off-by Tom Rini <[email protected]>---
Cc: Marek Vasut <[email protected]>--- tools/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+)tools/docker/Dockerfile +0
-0
tools/docker/Dockerfile RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ · line 130
Quoted 4 lines
tools/docker/Dockerfile +1
-0@@ -127,6 +127,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ python3-pyelftools \ python3-sphinx \ python3-tomli \ + python3-tk \
Keep the list sorted please.
Quoted 15 lines · Marek Vasut
Quoted 14 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.
Signed-off-by Tom Rini <[email protected]>---
Cc: Marek Vasut <[email protected]>--- tools/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+)
Quoted 10 lines
tools/docker/Dockerfile RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ · line 130
Quoted 9 lines
tools/docker/Dockerfile +1
-0@@ -127,6 +127,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ python3-pyelftools \ python3-sphinx \ python3-tomli \ + python3-tk \Keep the list sorted please.
Ah whoops, k does come before o.
Signature · 1 line
Tom