Add more paths to grub2 parser
[petitboot] / 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",
+       "/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