grub/include/grub/util
Steve McIntyre 686db96646 grub-install: Check for arm-efi as a default target
Much like on x86, we can work out if the system is running on top of EFI
firmware. If so, return "arm-efi". If not, fall back to "arm-uboot" as
previously.

Split out the code to (maybe) load the efivar module and check for
/sys/firmware/efi into a common helper routine is_efi_system().

Signed-off-by: Steve McIntyre <93sam@debian.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-02-26 15:25:13 +01:00
..
install.h grub-install: Check for arm-efi as a default target 2019-02-26 15:25:13 +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 xen_pvh: Support building a standalone image 2018-12-12 12:03:27 +01: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