]> git.ozlabs.org Git - petitboot/blobdiff - discover/grub2-parser.c
discover: destroy client if message read failed
[petitboot] / discover / grub2-parser.c
index bd08ec0a70c750f90d91f4c609bd427125ceb594..63e6542e6f11b6f1a9fe868b5dfb121f230db0bb 100644 (file)
@@ -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