grub/include/grub/util
Steve McIntyre 6400613ad0 Make grub-install check for errors from efibootmgr
Code is currently ignoring errors from efibootmgr, giving users
clearly bogus output like:

        Setting up grub-efi-amd64 (2.02~beta3-4) ...
        Installing for x86_64-efi platform.
        Could not delete variable: No space left on device
        Could not prepare Boot variable: No space left on device
        Installation finished. No error reported.

and then potentially unbootable systems. If efibootmgr fails, grub-install
should know that and report it!

We've been using similar patch in Debian now for some time, with no ill effects.

Signed-off-by: Steve McIntyre <93sam@debian.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2018-02-14 18:02:01 +01:00
..
install.h Make grub-install check for errors from efibootmgr 2018-02-14 18:02:01 +01:00
libnvpair.h * configure.ac: Check for nvlist_lookup_string in nvpair since we 2013-10-15 15:01:01 +02:00
libzfs.h * include/grub/emu/misc.h: Don't include grub/util/libzfs.h. 2010-11-06 23:52:56 +01:00
misc.h Fix canonicalize_file_name clash. 2015-03-04 01:00:19 +01:00
mkimage.h mkimage: Pass layout to mkimage_generate_elfXX rather than some fields. 2017-05-08 17:32:15 +02:00
ofpath.h Use ofpathname in grub-setup on sparc 2010-04-18 14:02:13 +02:00
resolve.h util/setup: fix grub_util_path_list leak 2016-01-09 13:55:18 +03:00
windows.h Workaround windows bug when querying EFI system partition parameters. 2013-12-14 23:23:11 +01:00