[OE-core] [1/2] providers.py: Add package name to PREFERRED_PROVIDER search
Jate Sujjavanich
jatedev at gmail.com
Thu May 7 23:50:45 UTC 2015
Add rootfs_process_preferred_providers to image.bbclass. In PACKAGE_INSTALL,
this substitutes the requested package with the provider. Change regex in
RpmRootfs._log_check_error to allow log message about PREFERRED_PROVIDER.
Signed-off-by: Jate Sujjavanich <jatedev at gmail.com>
----
The following changes since commit 7a8f37daa7b42905233c31366915b897886a957a:
dev-manual: Updates to add Luna support for Eclipse (2015-05-03 11:49:35
+0100)
are available in the git repository at:
git://github.com/jatedev/poky.git preferred-provider-runtime
for you to fetch changes up to efe5b0940a6abc7348d8c60c456d93f5de8dda89:
providers.py: Add package name to PREFERRED_PROVIDER search (2015-05-07
19:07:18 -0400)
----------------------------------------------------------------
Jate Sujjavanich (1):
providers.py: Add package name to PREFERRED_PROVIDER search
bitbake/lib/bb/providers.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 637e1fa..b6c294e 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -323,6 +323,7 @@ def filterProvidersRunTime(providers, item, cfgData,
dataCache):
for p in eligible:
pn = dataCache.pkg_fn[p]
provides = dataCache.pn_provides[pn]
+ provides.append(item)
for provide in provides:
prefervar = cfgData.getVar('PREFERRED_PROVIDER_%s' % provide,
True)
#logger.debug(1, "checking PREFERRED_PROVIDER_%s (value %s)
against %s", provide, prefervar, pns.keys())
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150507/5c9859ef/attachment-0002.html>
More information about the Openembedded-core
mailing list