[OE-core] [PATCH 1/1] package_manager.py: fix rpm based do_rootfs failed while IMAGE_INSTALL_append = " python3"
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Feb 16 10:01:22 UTC 2015
On Fri, 2015-02-13 at 09:39 +0800, Hongxu Jia wrote:
> 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.
Could we test the time it takes to build core-image-sato-sdk before and
after this patch please?
Cheers,
Richard
More information about the Openembedded-core
mailing list