From: Geoff Levand Date: Tue, 27 Mar 2012 02:55:53 +0000 (-0700) Subject: Add more paths to grub2 parser X-Git-Tag: v1.0.0~765 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=784163c0779638e8d47bf68a65f4382f8e26ce3f Add more paths to grub2 parser Signed-off-by: Geoff Levand --- diff --git a/discover/grub2-parser.c b/discover/grub2-parser.c index 689c200..f6cbccb 100644 --- a/discover/grub2-parser.c +++ b/discover/grub2-parser.c @@ -134,10 +134,14 @@ static void grub2_process_pair(struct conf_context *conf, const char *name, static const char *const grub2_conf_files[] = { "/grub.cfg", "/menu.lst", + "/grub/grub.cfg", + "/grub/menu.lst", "/boot/grub/grub.cfg", "/boot/grub/menu.lst", "/GRUB.CFG", "/MENU.LST", + "/GRUB/GRUB.CFG", + "/GRUB/MENU.LST", "/BOOT/GRUB/GRUB.CFG", "/BOOT/GRUB/MENU.LST", NULL