grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC][PATCH 0/2] grub-install: Use arm-efi target EFI-mode QEMU virt mac


From: dann frazier
Subject: [RFC][PATCH 0/2] grub-install: Use arm-efi target EFI-mode QEMU virt machines
Date: Tue, 28 Aug 2018 13:33:46 -0600

Now that Leif has fixed up the arm-uefi target, I'm looking at adding that
support into Debian/Ubuntu for virtual machines. One issue is that
'grub-install' errors out by default when only the arm-efi flavor is
installed:

$ sudo grub-install
grub-install: error: /usr/lib/grub/arm-uboot/modinfo.sh doesn't exist. Please 
specify --target or --directory

This series avoids that by whitelisting EFI-based linux/virt platforms.

dann frazier (2):
  Factor out EFI detection into its own function
  arm: grub-install: Default to arm-efi target in EFI-based QEMU virt
    models

 grub-core/osdep/basic/platform.c   |  6 ++++
 grub-core/osdep/linux/platform.c   | 57 +++++++++++++++++++++++++++---
 grub-core/osdep/windows/platform.c | 16 +++++++--
 include/grub/util/install.h        |  3 ++
 util/grub-install.c                |  2 +-
 5 files changed, 77 insertions(+), 7 deletions(-)

-- 
2.18.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]