From: Jeremy Kerr Date: Thu, 2 May 2013 03:39:43 +0000 (+0800) Subject: discover: log unresolved boot options X-Git-Tag: v1.0.0~664 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=9af0c65fa5ba9ae8527a70dbf0e808d777dfb479;hp=ee329cc09cfbeefac95efeda31bb9ef839dd1382 discover: log unresolved boot options These are a bit of a special-case ("why isn't my boot option appearing?"), so add a log message. Signed-off-by: Jeremy Kerr --- diff --git a/discover/device-handler.c b/discover/device-handler.c index b2922b7..9e4c5bb 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -156,6 +156,9 @@ static void context_commit(struct device_handler *handler, 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);