[5/7] grub2/grub2: add Yocto paths to default grub2 conf search paths
diff mbox series

Message ID 1518055632-11462-6-git-send-email-brett.grandbois@opengear.com
State Accepted
Headers show
Series
  • Resubmit: Yocto and musl libc fixes, syslinux parser support
Related show

Commit Message

Grandbois, Brett Feb. 8, 2018, 2:07 a.m. UTC
Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com>
---
 discover/grub2/grub2.c | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

diff --git a/discover/grub2/grub2.c b/discover/grub2/grub2.c
index 3474616..f62ccdd 100644
--- a/discover/grub2/grub2.c
+++ b/discover/grub2/grub2.c
@@ -21,6 +21,7 @@  static const char *const grub2_conf_files[] = {
 	"/boot/grub/grub.cfg",
 	"/boot/grub2/grub.cfg",
 	"/boot/grub/menu.lst",
+	"/efi/boot/grub.cfg",
 	"/GRUB.CFG",
 	"/MENU.LST",
 	"/GRUB/GRUB.CFG",
@@ -28,6 +29,7 @@  static const char *const grub2_conf_files[] = {
 	"/GRUB/MENU.LST",
 	"/BOOT/GRUB/GRUB.CFG",
 	"/BOOT/GRUB/MENU.LST",
+	"/EFI/BOOT/GRUB.CFG",
 	NULL
 };