]> git.ozlabs.org Git - petitboot/commitdiff
Add more paths to grub2 parser
authorGeoff Levand <geoff@infradead.org>
Tue, 27 Mar 2012 02:55:53 +0000 (19:55 -0700)
committerGeoff Levand <geoff@infradead.org>
Tue, 27 Mar 2012 02:55:53 +0000 (19:55 -0700)
Signed-off-by: Geoff Levand <geoff@infradead.org>
discover/grub2-parser.c

index 689c200d0f3f7ffc76ed113c0f996879ab9894d9..f6cbccbaa6e6311aaa402c87199c3c1526ce669c 100644 (file)
@@ -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",
 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",
        "/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
        "/BOOT/GRUB/GRUB.CFG",
        "/BOOT/GRUB/MENU.LST",
        NULL