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 11:42:34 +0100 |
commit | 5f81a714f4fca785780bef555b419f0250e5ec1c (patch) | |
tree | 9378c681835b4116a4809e45c67bf1219c237b78 /lib/bb/providers.py | |
parent | bf0e5dddf0f63cdb0648fb6d872af5ceef6fbfb0 (diff) | |
download | bitbake-5f81a714f4fca785780bef555b419f0250e5ec1c.tar.gz |
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]
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/providers.py')
-rw-r--r-- | lib/bb/providers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/providers.py b/lib/bb/providers.py index bd729df93..24cb217ed 100644 --- a/lib/bb/providers.py +++ b/lib/bb/providers.py @@ -35,6 +35,8 @@ class NoProvider(bb.BBHandledException): class NoRProvider(bb.BBHandledException): """Exception raised when no provider of a runtime dependency can be found""" +class MultipleRProvider(bb.BBHandledException): + """Exception raised when multiple providers of a runtime dependency can be found""" def findProviders(cfgData, dataCache, pkg_pn = None): """ |