X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fresource.c;fp=discover%2Fresource.c;h=b4fa9ca3930f350b8622027a793c0a5be427ef55;hp=b31a215b39be8b345e46abe97fcb1c2ae16387de;hb=a5db3ced87f5f24500f785b70af8b8630bc1c077;hpb=c37e69dfc9df2d7adf442d2463633c067f5fceaf diff --git a/discover/resource.c b/discover/resource.c index b31a215..b4fa9ca 100644 --- a/discover/resource.c +++ b/discover/resource.c @@ -6,6 +6,7 @@ #include #include +#include #include #include "device-handler.h" @@ -82,6 +83,8 @@ struct resource *create_devpath_resource(struct discover_boot_option *opt, devstr = talloc_strndup(res, devpath, pos - devpath); path = talloc_strdup(res, pos + 1); + pb_log("%s: resource depends on device %s\n", __func__, devstr); + /* defer resolution until we can find a suitable matching device */ info = talloc(res, struct devpath_resource_info); info->dev = devstr;