projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee329cc
)
discover: log unresolved boot options
author
Jeremy Kerr
<jk@ozlabs.org>
Thu, 2 May 2013 03:39:43 +0000
(11:39 +0800)
committer
Jeremy Kerr
<jk@ozlabs.org>
Mon, 6 May 2013 01:02:12 +0000
(09:02 +0800)
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>
discover/device-handler.c
patch
|
blob
|
history
diff --git
a/discover/device-handler.c
b/discover/device-handler.c
index b2922b790560fd5089b5fda3a6f15ddcb9c12e73..9e4c5bb228ebb285b9a905198e69f930e862d8e4 100644
(file)
--- 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);