When building grub-2.12 with a newer GCC, we run in to warings (treated
as errors). The simple fix here is to move to the latest release tag. In
order to build a newer grub from source we need the autoconf-archive
package to be installed.

Signed-off-by: Tom Rini <[email protected]>
---
There are compiler problems to resolve before CI can move up to
gcc-15.2.0 but this step will be required.
---
 tools/docker/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 21f0369275c6..73bf6cdd2c52 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -60,6 +60,7 @@ RUN echo deb http://apt.llvm.org/noble/ 
llvm-toolchain-noble-20 main | tee /etc/
 RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
     --mount=type=cache,target=/var/lib/apt,sharing=locked \
     apt-get update && apt-get install -y \
+       autoconf-archive \
        automake \
        autopoint \
        bc \
@@ -155,7 +156,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked 
\
 # Build GRUB UEFI targets for ARM & RISC-V, 32-bit and 64-bit
 RUN git clone https://https.git.savannah.gnu.org/git/grub.git /tmp/grub && \
        cd /tmp/grub && \
-       git checkout grub-2.12 && \
+       git checkout grub-2.14 && \
        git config --global user.name "GitLab CI Runner" && \
        git config --global user.email [email protected] && \
        GNULIB_URL=https://https.git.savannah.gnu.org/git/gnulib.git 
./bootstrap && \
-- 
2.43.0

Reply via email to