diff --git a/grub.be0 b/grub.be0 index 429e72754..3dc175212 100755 --- a/grub.be0 +++ b/grub.be0 @@ -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 @@ -17,9 +17,10 @@ build_in_sourcedir # bee_extract "${@}" #} -#mee_patch() { -# bee_patch "${@}" -#} +mee_patch() { + bee_patch "${@}" + ./autogen.sh +} #mee_configure() { # bee_configure @@ -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 +}