Skip to content

Build GRUB additionally with UEFI support #885

Merged
merged 6 commits into from
Aug 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions grub.be0
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env beesh

# BEE_VERSION grub-2.02-0
# BEE_VERSION grub-2.02_p167_61ec2e300-0

SRCURL[0]="ftp://ftp.gnu.org/gnu/grub/grub-${PKGVERSION}.tar.gz"
SRCURL[0]="/src/mariux/beeroot/downloads/grub-${PKGVERSION}_p167_61ec2e300.tar.bz2"

#PATCHURL+=(/src/mariux/patches/grub-2.00-0001-avoid-compile-error-due-to-undeclared-gets.patch)
# PATCHURL+=()

# EXCLUDE+=()

build_in_sourcedir
# build_in_sourcedir

# sourcesubdir_append src

Expand All @@ -17,9 +17,10 @@ build_in_sourcedir
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}
mee_patch() {
bee_patch "${@}"
./autogen.sh
}

#mee_configure() {
# bee_configure
Expand All @@ -33,3 +34,13 @@ build_in_sourcedir
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

# Install x86_64-efi
mee_install_post() {
start_cmd make clean
bee_configure \
--with-platform=efi \
--target=x86_64
bee_build
bee_install
}