docker: Update to grub-2.12

The current release of grub is 2.12 and it will be good to pick this up
now so that we can update other parts of our stack.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-11-27 11:17:23 -06:00
parent 2fc92695fb
commit 70712a6acb

View File

@@ -55,6 +55,7 @@ RUN apt-get update && apt-get install -y \
flex \ flex \
gawk \ gawk \
gdisk \ gdisk \
gettext \
git \ git \
gnu-efi \ gnu-efi \
gnutls-dev \ gnutls-dev \
@@ -128,11 +129,9 @@ RUN chmod +r /boot/vmlinu*
# Build GRUB UEFI targets for ARM & RISC-V, 32-bit and 64-bit # Build GRUB UEFI targets for ARM & RISC-V, 32-bit and 64-bit
RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
cd /tmp/grub && \ cd /tmp/grub && \
git checkout grub-2.06 && \ git checkout grub-2.12 && \
git config --global user.name "GitLab CI Runner" && \ git config --global user.name "GitLab CI Runner" && \
git config --global user.email trini@konsulko.com && \ git config --global user.email trini@konsulko.com && \
git cherry-pick 049efdd72eb7baa7b2bf8884391ee7fe650da5a0 && \
git cherry-pick 403d6540cd608b2706cfa0cb4713f7e4b490ff45 && \
./bootstrap && \ ./bootstrap && \
mkdir -p /opt/grub && \ mkdir -p /opt/grub && \
./configure --target=aarch64 --with-platform=efi \ ./configure --target=aarch64 --with-platform=efi \