Skip to contentSkip to conversation

CI: Update to using grub-2.14 for our tests

PATCH In review Tom Rini 1 participant 2 messages Jan 30 – Feb 6

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 CI: Update to using grub-2.14 for our tests

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.

---
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(-)
tools/docker/Dockerfile +2 -1
index 21f0369275c6..73bf6cdd2c52 100644
@@ -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 && \
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

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.

Applied to u-boot/master, thanks!

[1/1] CI: Update to using grub-2.14 for our tests

      commit: a54d613baf742a95b6deb7a016ef6262737d1918
Signature · 1 line
Tom