X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fgrub2-parser.c;h=63e6542e6f11b6f1a9fe868b5dfb121f230db0bb;hp=bd08ec0a70c750f90d91f4c609bd427125ceb594;hb=a610837ff38f5cc80bcbad465a80ab920e67927d;hpb=c019c1cea9c12aff4aa945414bb2841d085d5b10 diff --git a/discover/grub2-parser.c b/discover/grub2-parser.c index bd08ec0..63e6542 100644 --- a/discover/grub2-parser.c +++ b/discover/grub2-parser.c @@ -161,7 +161,7 @@ static void grub2_process_pair(struct conf_context *conf, const char *name, return; } - if (streq(name, "linux")) { + if (streq(name, "linux") || streq(name, "linux16")) { char *sep; sep = strchr(value, ' '); @@ -240,6 +240,7 @@ static const char *const grub2_conf_files[] = { static const char *grub2_known_names[] = { "menuentry", "linux", + "linux16", "initrd", "search", NULL