* [PATCH] Dockerfile: Include python3-tk for FATtools
@ 2025-11-13 20:57 Tom Rini
2025-11-13 21:37 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2025-11-13 20:57 UTC (permalink / raw)
To: u-boot; +Cc: Marek Vasut
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 <trini@konsulko.com>
---
Cc: Marek Vasut <marek.vasut@mailbox.org>
---
tools/docker/Dockerfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index d2384219c06a..f62513b86b2c 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -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 \
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Dockerfile: Include python3-tk for FATtools
2025-11-13 20:57 [PATCH] Dockerfile: Include python3-tk for FATtools Tom Rini
@ 2025-11-13 21:37 ` Marek Vasut
2025-11-13 22:08 ` Tom Rini
0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2025-11-13 21:37 UTC (permalink / raw)
To: Tom Rini, u-boot
On 11/13/25 9:57 PM, Tom Rini wrote:
> 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 <trini@konsulko.com>
> ---
> Cc: Marek Vasut <marek.vasut@mailbox.org>
> ---
> tools/docker/Dockerfile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
> index d2384219c06a..f62513b86b2c 100644
> --- a/tools/docker/Dockerfile
> +++ b/tools/docker/Dockerfile
> @@ -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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Dockerfile: Include python3-tk for FATtools
2025-11-13 21:37 ` Marek Vasut
@ 2025-11-13 22:08 ` Tom Rini
0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2025-11-13 22:08 UTC (permalink / raw)
To: Marek Vasut; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]
On Thu, Nov 13, 2025 at 10:37:17PM +0100, Marek Vasut wrote:
> On 11/13/25 9:57 PM, Tom Rini wrote:
> > 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 <trini@konsulko.com>
> > ---
> > Cc: Marek Vasut <marek.vasut@mailbox.org>
> > ---
> > tools/docker/Dockerfile | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
> > index d2384219c06a..f62513b86b2c 100644
> > --- a/tools/docker/Dockerfile
> > +++ b/tools/docker/Dockerfile
> > @@ -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.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-13 22:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13 20:57 [PATCH] Dockerfile: Include python3-tk for FATtools Tom Rini
2025-11-13 21:37 ` Marek Vasut
2025-11-13 22:08 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox