grub2/grub-core/osdep/unix
Steve McIntyre af3887505e 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!

Signed-off-by: Steve McIntyre <93sam@debian.org>

Bug-Debian: https://bugs.debian.org/853234
Forwarded: https://lists.gnu.org/archive/html/grub-devel/2017-01/msg00107.html

Patch-Name: grub-install-efibootmgr-check.patch
2018-03-16 10:56:41 +00:00
..
compress.c Rewrite grub-install, grub-mkrescue, grub-mkstandalone and grub-mknetdir 2013-11-16 20:21:16 +01:00
config.c Read /etc/default/grub.d/*.cfg after /etc/default/grub 2018-03-16 10:56:39 +00:00
cputime.c unix/cputime.c: Cache sc_clk_tck and check it for sanity. 2015-01-21 17:42:15 +01:00
dl.c Move OS-dependent mprotect for module loading to grub-core/osdep/*/dl.c 2013-12-08 18:08:23 +01:00
emuconsole.c * grub-core/osdep/unix/emuconsole.c (put): Pacify the compiler on 2013-11-13 13:34:57 +00:00
exec.c consolidate grub_util_exec code 2013-12-16 22:41:15 +04:00
getroot.c Tell zpool to emit full device names 2018-03-16 10:56:40 +00:00
hostdisk.c Fix canonicalize_file_name clash. 2015-03-04 01:00:19 +01:00
password.c unix: do not close stdin in grub_passwd_get 2015-11-18 22:23:58 +03:00
platform.c Make grub-install check for errors from efibootmgr 2018-03-16 10:56:41 +00:00
random.c Add a wrapper for fopen. On unix-like systems just pass-through. On 2013-10-13 20:36:28 +02:00
relpath.c unix/relpath: memory leak 2015-06-19 18:38:25 +03:00
sleep.c Move sleep routines to grub-core/osdep. 2013-10-08 17:38:46 +02:00