]> git.ozlabs.org Git - petitboot/blobdiff - discover/device-handler.c
discover: log unresolved boot options
[petitboot] / discover / device-handler.c
index b2922b790560fd5089b5fda3a6f15ddcb9c12e73..9e4c5bb228ebb285b9a905198e69f930e862d8e4 100644 (file)
@@ -156,6 +156,9 @@ static void context_commit(struct device_handler *handler,
                                        opt->source->name, opt->option->id);
                                talloc_free(opt);
                        } else {
                                        opt->source->name, opt->option->id);
                                talloc_free(opt);
                        } else {
+                               pb_log("boot option %s is unresolved, "
+                                               "adding to queue\n",
+                                               opt->option->id);
                                list_add(&handler->unresolved_boot_options,
                                                &opt->list);
                                talloc_steal(handler, opt);
                                list_add(&handler->unresolved_boot_options,
                                                &opt->list);
                                talloc_steal(handler, opt);