From: Geoff Levand Date: Fri, 17 May 2013 07:11:10 +0000 (+0800) Subject: parser/grub2: Add parse for linux16 X-Git-Tag: v1.0.0~610 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=32f08e95ad23521e0d68fef46dcbfc7b99dda752;p=petitboot parser/grub2: Add parse for linux16 Ubuntu uses the linux16 symbol in thier conf files for memory test entries. Signed-off-by: Geoff Levand --- 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