On Mon, Nov 04, 2024 at 06:39:48AM -0700, Simon Glass wrote: > The package names are slightly different for arm64 and we don't seem to > have a linux-image-kvm package. Provide a different set for arm64 > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > tools/docker/Dockerfile | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile > index c9d794082c8..c4c3dc5a901 100644 > --- a/tools/docker/Dockerfile > +++ b/tools/docker/Dockerfile > @@ -39,7 +39,12 @@ RUN wget -O - > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_ > RUN wget -O - > https://github.com/foss-xtensa/toolchain/releases/download/2020.07/x86_64-2020.07-xtensa-dc233c-elf.tar.gz > | tar -C /opt -xz > > # Update and install things from apt now > -RUN apt-get update && apt-get install -y \ > +RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \ > + EXTRA_PACKAGES="grub-efi-arm64-bin linux-image-generic"; \ > + else \ > + EXTRA_PACKAGES="grub-efi-amd64-bin grub-efi-ia32-bin libc6-i386 > linux-image-kvm"; \ > + fi; \
Lets try using grub-efi (dummy package that should grab the correct architecture one) and see if linux-image-generic provides the vmlinux file we annoyingly need for both architectures. I _think_ we can stop explicitly listing libc6-i386, but may need to list grub-efi-ia32-bin too as grub-efi will only grab the amd64 one. -- Tom
signature.asc
Description: PGP signature