summaryrefslogtreecommitdiffstats
path: root/bitbake/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:25:08 +0100
commite605ecfd95d2b1573cb51de01c2e0c72e10b8ae0 (patch)
treeee6319f58336f64bd3a78db3ef423179f9ec55ac /bitbake/lib/bb/providers.py
parent4df73c7d3beed166e5d5f8c4caafc8c6035790db (diff)
downloadpoky-e605ecfd95d2b1573cb51de01c2e0c72e10b8ae0.tar.gz
bitbake: 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] (Bitbake rev: df372ca057f0c8c2152223b3e26ad9a30958bab6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/providers.py')
-rw-r--r--bitbake/lib/bb/providers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 3d0fb4840d..cac13ace40 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -376,5 +376,6 @@ def getRuntimeProviders(dataCache, rdepend):
376 regexp_cache[pattern] = regexp 376 regexp_cache[pattern] = regexp
377 if regexp.match(rdepend): 377 if regexp.match(rdepend):
378 rproviders += dataCache.packages_dynamic[pattern] 378 rproviders += dataCache.packages_dynamic[pattern]
379 logger.debug(1, "Assuming %s is a dynamic package, but it may not exist" % rdepend)
379 380
380 return rproviders 381 return rproviders