]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package_manager.py: search provides when not found by pkgname
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 7 Sep 2015 01:48:13 +0000 (18:48 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Sep 2015 13:24:58 +0000 (14:24 +0100)
commit476f9ab6e37bd516919862835e6e00c960a9e242
treedf853c5aaaf306d15100ec5328c4bd00668cba27
parent3479e299b5f11dfcd3f5f97c4ad3e0449f6c6d6a
package_manager.py: search provides when not found by pkgname

Fixed when:
PACKAGE_CLASSES = "package_rpm"
IMAGE_INSTALL_append = " perl-module-warnings-register"

$ bitbake core-image-minimal
[snip]
ERROR: perl-module-warnings-register not found in the base feeds
[snip]

And it works well when PACKAGE_CLASSES = "package_ipk" since perl
provides perl-module-warnings-register, the "smart install
perl-module-warnings-register" also works well, this was because
_search_pkg_name_in_feeds() only searched pkg name, but no provides,
this patch fixes the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py