]> git.ozlabs.org Git - petitboot/blobdiff - discover/grub2-parser.c
discover/grub2: remove uuid log message
[petitboot] / discover / grub2-parser.c
index bd08ec0a70c750f90d91f4c609bd427125ceb594..38941d88e71c21e0f1cfc71d1d90af2c3a3c8c9a 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, ' ');
@@ -205,7 +205,6 @@ static void grub2_process_pair(struct conf_context *conf, const char *name,
                        return;
 
                uuid++;
-               pb_log("%s: uuid %s\n", __func__, uuid);
 
                if (state->root)
                        talloc_unlink(state, state->root);
@@ -240,6 +239,7 @@ static const char *const grub2_conf_files[] = {
 static const char *grub2_known_names[] = {
        "menuentry",
        "linux",
+       "linux16",
        "initrd",
        "search",
        NULL