aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/providers.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2013-07-19 03:07:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-29 15:24:16 +0100
commitdf372ca057f0c8c2152223b3e26ad9a30958bab6 (patch)
treea06b655a3af73c6edb3656ee89974df85132209e /lib/bb/providers.py
parent6eee0cc37438cc3f91531b7df524330fba27161b (diff)
downloadbitbake-df372ca057f0c8c2152223b3e26ad9a30958bab6.tar.gz
providers.py: print a debug message for dynamic pacakge
We can't know the dynamic pacakge's name exactly, there might be a problem, for example, when we use: IMAGE_INSTALL_append += "ncurses-lib12344" The ncurses-lib12344 matches ncurses' dynamic packages pattern: PACKAGES_DYNAMIC = "^${PN}-lib.*" so there is no errors before the rootfs creation though there is no ncurses-lib12344. We can warn this, but I think that we'd better not since there are many dynamic packages, or there would be too many warnings, for example, the perl and kernel modules, maybe we can print a debug message for it. [YOCTO #4798] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/providers.py')
-rw-r--r--lib/bb/providers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/providers.py b/lib/bb/providers.py
index 3d0fb4840..cac13ace4 100644
--- a/lib/bb/providers.py
+++ b/lib/bb/providers.py
@@ -376,5 +376,6 @@ def getRuntimeProviders(dataCache, rdepend):
regexp_cache[pattern] = regexp
if regexp.match(rdepend):
rproviders += dataCache.packages_dynamic[pattern]
+ logger.debug(1, "Assuming %s is a dynamic package, but it may not exist" % rdepend)
return rproviders