Ongoing work on grub2, including Fedora and RHEL
Clone or download
leiflindholm and Daniel Kiper i386: Don't include lib/i386/reset.c in EFI builds
Commit 0ba90a7 ("efi: Move grub_reboot() into kernel") broke
the build on i386-efi - genmoddep.awk bails out with message
  grub_reboot in reboot is duplicated in kernel
This is because both lib/i386/reset.c and kern/efi/efi.c now provide
this function.

Rather than explicitly list each i386 platform variant in
Makefile.core.def, include the contents of lib/i386/reset.c only when
GRUB_MACHINE_EFI is not set.

Signed-off-by: Leif Lindholm <>
Reviewed-by: Daniel Kiper <>
Latest commit c79ebcd Jul 9, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
asm-tests asm-tests/i386-pc: Check that movl is 5 bytes. Sep 28, 2016
build-aux Autogenerate ChangeLog from git changelog. Jan 24, 2015
conf Add support for device-tree-based drivers. May 8, 2017
docs templates: Update grub script template files Apr 23, 2018
grub-core i386: Don't include lib/i386/reset.c in EFI builds Jul 25, 2018
include arm: Delete unused efi support from loader/arm Jul 25, 2018
m4 update m4/extern-inline.m4 to upstream version to fix compilation on … Mar 5, 2015
po fs: Add F2FS support Apr 10, 2018
tests grub-fs-tester: Fix losetup race Jun 23, 2018
themes/starfield Starfield theme. Feb 23, 2012
unicode * unicode: Import Unicode 6.0 data. Dec 25, 2011
util grub-setup: Debug message cleanup Jul 11, 2018
.gitignore .gitignore: Add grub-core/build-grub-module-verifier Nov 12, 2016
ABOUT-NLS automake commit without merge history May 6, 2010
AUTHORS 2005-09-03 Yoshinori K. Okuji <> Sep 3, 2005
BUGS * BUGS: New file. Jan 10, 2011
COPYING 2007-07-22 Yoshinori K. Okuji <> Jul 21, 2007
ChangeLog-2015 Autogenerate ChangeLog from git changelog. Jan 24, 2015
INSTALL INSTALL: Fix mention of thumb-clang. Feb 2, 2017 Use core2duo for bootcheck test on 64-bit EFI. Mar 15, 2017
Makefile.util.def fs: Add F2FS support Apr 10, 2018
NEWS NEWS updates Nov 22, 2016
README README: Remove dead link to the wiki Nov 6, 2015
THANKS 2009-12-11 Robert Millan <> Dec 11, 2009
TODO TODO: Remove obsolete link Feb 12, 2016
acinclude.m4 Fix -nopie/-nopie check. Jan 30, 2017 autogen: Use cp instead of ln -s. Nov 8, 2015 Remove libgcc dependency. Mar 3, 2015 Set have_exec to y on cygwin so we have grub_mkrescue. Aug 14, 2017
coreboot.cfg * coreboot.cfg: Add missing file. Nov 19, 2013 automake commit without merge history May 6, 2010 arm_coreboot: Support EHCI. May 8, 2017 linguas: Don't skip ko.po. Feb 3, 2017


This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

Please visit the official web page of GRUB 2, for more information.
The URL is <>.

More extensive documentation is available in the Info manual,
accessible using 'info grub' after building and installing GRUB 2.

There are a number of important user-visible differences from the
first version of GRUB, now known as GRUB Legacy. For a summary, please

  info grub Introduction 'Changes from GRUB Legacy'