summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-03-26 19:55:53 -0700
committerGeoff Levand <geoff@infradead.org>2012-03-26 19:55:53 -0700
commit784163c0779638e8d47bf68a65f4382f8e26ce3f (patch)
treed92f0a9a8915ce306c07584b0d19df7a0df843f4
parent09cc1ef3d7e2c1dab6648aceb24dd33e7897f998 (diff)
downloadtalos-petitboot-784163c0779638e8d47bf68a65f4382f8e26ce3f.tar.gz
talos-petitboot-784163c0779638e8d47bf68a65f4382f8e26ce3f.zip
Add more paths to grub2 parser
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r--discover/grub2-parser.c4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud