projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09cc1ef
)
Add more paths to grub2 parser
author
Geoff Levand
<geoff@infradead.org>
Tue, 27 Mar 2012 02:55:53 +0000
(19:55 -0700)
committer
Geoff 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
patch
|
blob
|
history
diff --git
a/discover/grub2-parser.c
b/discover/grub2-parser.c
index 689c200d0f3f7ffc76ed113c0f996879ab9894d9..f6cbccbaa6e6311aaa402c87199c3c1526ce669c 100644
(file)
--- 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