summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-08 17:01:13 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-05-15 14:36:08 +0800
commit29e6551ec43ce5ed6a51414f9f8c8c4207a804b0 (patch)
tree0b077d542c889c69e870a16bc7100dcb0a0fed83 /discover
parent207998f69f4f5bc19532736401953c2b45347652 (diff)
downloadtalos-petitboot-29e6551ec43ce5ed6a51414f9f8c8c4207a804b0.tar.gz
talos-petitboot-29e6551ec43ce5ed6a51414f9f8c8c4207a804b0.zip
discover/grub2: Add grub2/grub.cfg config file
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover')
-rw-r--r--discover/grub2-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/grub2-parser.c b/discover/grub2-parser.c
index bb47d6c..cb9635e 100644
--- a/discover/grub2-parser.c
+++ b/discover/grub2-parser.c
@@ -144,12 +144,14 @@ static const char *const grub2_conf_files[] = {
"/grub.cfg",
"/menu.lst",
"/grub/grub.cfg",
+ "/grub2/grub.cfg",
"/grub/menu.lst",
"/boot/grub/grub.cfg",
"/boot/grub/menu.lst",
"/GRUB.CFG",
"/MENU.LST",
"/GRUB/GRUB.CFG",
+ "/GRUB2/GRUB.CFG",
"/GRUB/MENU.LST",
"/BOOT/GRUB/GRUB.CFG",
"/BOOT/GRUB/MENU.LST",
OpenPOWER on IntegriCloud