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.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2026-01-30 15:57:22 -06:00
parent 109e378e9b
commit a54d613baf

View File

@@ -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 trini@konsulko.com && \
GNULIB_URL=https://https.git.savannah.gnu.org/git/gnulib.git ./bootstrap && \