grub/grub-core/osdep/basic
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
..
compress.c Mark strings for translation and add remaining ones to exclude list. 2013-12-18 06:50:24 +01:00
emunet.c Split emunet into platform-dependent and GRUB-binding parts. Keep 2013-10-15 11:55:20 +02:00
getroot.c * include/grub/util/lvm.h: Removed. 2013-10-08 21:01:09 +02:00
hostdisk.c Move OS-specific driver configuration to grub_util_fd_open. This 2013-10-09 07:04:25 +02:00
init.c Rewrite grub-install, grub-mkrescue, grub-mkstandalone and grub-mknetdir 2013-11-16 20:21:16 +01:00
no_platform.c Mark strings for translation and add remaining ones to exclude list. 2013-12-18 06:50:24 +01:00
ofpath.c * util/ieee1275/ofpath.c: Move to ... 2013-10-08 18:25:49 +02:00
platform.c grub-install: Check for arm-efi as a default target 2019-02-26 15:25:13 +01:00
random.c Clarify several translatable messages. 2013-12-21 01:41:16 +01:00