summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-02 11:39:43 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-05-06 09:02:12 +0800
commit9af0c65fa5ba9ae8527a70dbf0e808d777dfb479 (patch)
tree3b210ba7df010b66e36048978ba4453d148b48ec
parentee329cc09cfbeefac95efeda31bb9ef839dd1382 (diff)
downloadtalos-petitboot-9af0c65fa5ba9ae8527a70dbf0e808d777dfb479.tar.gz
talos-petitboot-9af0c65fa5ba9ae8527a70dbf0e808d777dfb479.zip
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 <jk@ozlabs.org>
-rw-r--r--discover/device-handler.c3
1 files changed, 3 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud