grub/grub-core
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
..
2017-07-09 21:31:19 +02:00
2018-11-26 23:10:11 +01:00
2019-02-25 14:02:05 +01:00
2019-02-25 11:33:06 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2013-04-27 02:00:16 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00
2019-02-25 14:02:05 +01:00
2019-02-25 14:02:05 +01:00
2017-05-03 12:49:31 +02:00