summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2012-08-08 20:35:55 (GMT)
committerPeter Jones <pjones@redhat.com>2012-08-08 20:35:55 (GMT)
commit41f4052da0ef1c69058f42136ac8c31f1df8fcbc (patch)
tree91986b638ab8eedcaa35c8106bc1b696b6a8f322
parentf060937db8f9a54d5ee93c5e564b10ef490144da (diff)
downloadgrubby-41f4052da0ef1c69058f42136ac8c31f1df8fcbc.zip
grubby-41f4052da0ef1c69058f42136ac8c31f1df8fcbc.tar.gz
grubby-41f4052da0ef1c69058f42136ac8c31f1df8fcbc.tar.xz
Handle "linuxefi" and "initrdefi" lines correctly in grub2.
-rw-r--r--grubby.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/grubby.c b/grubby.c
index 8bbebbc..5a6f390 100644
--- a/grubby.c
+++ b/grubby.c
@@ -204,7 +204,9 @@ struct keywordTypes grub2Keywords[] = {
{ "default", LT_DEFAULT, ' ' },
{ "fallback", LT_FALLBACK, ' ' },
{ "linux", LT_KERNEL, ' ' },
+ { "linuxefi", LT_KERNEL, ' ' },
{ "initrd", LT_INITRD, ' ', ' ' },
+ { "initrdefi", LT_INITRD, ' ', ' ' },
{ "module", LT_MBMODULE, ' ' },
{ "kernel", LT_HYPER, ' ' },
{ NULL, 0, 0 },