[OE-core] [PATCH 1/1] package_manager.py: fix rpm based do_rootfs failed while IMAGE_INSTALL_append = " python3"
Hongxu Jia
hongxu.jia at windriver.com
Fri Feb 13 01:39:46 UTC 2015
On 02/13/2015 12:46 AM, Paul Eggleton wrote:
>> default_archs) + new_pkg =
>> >self._search_pkg_name_in_feeds(pkg, default_archs) or \ +
>> > self._search_pkg_provider_in_smart(pkg, default_archs) if not new_pkg:
>> > err_msg = '%s not found in the base feeds (%s).\n' % \
>> > (pkg, ' '.join(default_archs))
> It took a long time to reply to this, my apologies. This patch looks OK but
> Richard pointed out that it may have an impact on the speed of do_rootfs
> because of the extra calls out to smart. Do you have any performance impact
> figures?
Hi Paul,
The extra 'smart' calling takes 3-5 seconds for one search,
but it will not do that for most packages, it goes into
self._search_pkg_name_in_feeds first, if not found and then in to
self._search_pkg_provider_in_smart, only if we have such as python3
in the build session, it will take extra 3-5 seconds.
//Hongxu
> Thanks,
> Paul
> --
More information about the Openembedded-core
mailing list