Skip to content
Snippets Groups Projects
Commit 0e840dc3 authored by Ariel D'Alessandro's avatar Ariel D'Alessandro
Browse files

Add gitlab-ci script to build grub binary for amd64


The build-amd64 job will generate the core.efi binary artifact that can
PXE boot on UEFI x86_64 platforms.

Signed-off-by: Ariel D'Alessandro's avatarAriel D'Alessandro <ariel.dalessandro@collabora.com>
parent 351c9c2f
No related branches found
No related tags found
No related merge requests found
Pipeline #42196 passed with stage
in 7 minutes and 29 seconds
stages:
- build
build-amd64:
stage: build
variables:
DEBIAN_FRONTEND: noninteractive
image:
name: debian:bullseye-slim
entrypoint: [""]
before_script:
- apt update
- apt install -y autoconf automake autopoint binutils bison build-essential cmake flex gcc gettext git libgtkmm-3.0-dev libtool make
script:
- ./bootstrap
- ./autogen.sh
- ./configure --with-platform=efi --target=x86_64 --disable-werror --prefix=$(pwd)/install/
- make
- make install
- ./install/bin/grub-mkstandalone -O x86_64-efi -o core.efi --modules "tftp net efinet linux efifwsetup part_msdos part_gpt btrfs ext2 fat"
artifacts:
paths:
- core.efi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment