diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2012-07-11 11:28:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 15:55:25 +0100 |
commit | 6a210e88b73be40c433b350929a1128a39f2080b (patch) | |
tree | 96fa46bed9649aae52f1f5a4714b4306f42bd283 /bitbake/lib/bb/providers.py | |
parent | 311550149a107243040040fcc32610f6617793c1 (diff) | |
download | poky-6a210e88b73be40c433b350929a1128a39f2080b.tar.gz |
bitbake: bitbake: Abort build if runtime dependency conflict
Currently if there are multiple preferred providers available for
a runtime dependency, bitbake will print an Error message and let
the build go on. Anyways the build should abort while any Errors
occured.
[YOCTO #2734]
(Bitbake rev: 5f81a714f4fca785780bef555b419f0250e5ec1c)
Signed-off-by: Wenzong Fan <wenzong.fan@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.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py index bd729df93d..24cb217edf 100644 --- a/bitbake/lib/bb/providers.py +++ b/bitbake/lib/bb/providers.py | |||
@@ -35,6 +35,8 @@ class NoProvider(bb.BBHandledException): | |||
35 | class NoRProvider(bb.BBHandledException): | 35 | class NoRProvider(bb.BBHandledException): |
36 | """Exception raised when no provider of a runtime dependency can be found""" | 36 | """Exception raised when no provider of a runtime dependency can be found""" |
37 | 37 | ||
38 | class MultipleRProvider(bb.BBHandledException): | ||
39 | """Exception raised when multiple providers of a runtime dependency can be found""" | ||
38 | 40 | ||
39 | def findProviders(cfgData, dataCache, pkg_pn = None): | 41 | def findProviders(cfgData, dataCache, pkg_pn = None): |
40 | """ | 42 | """ |