generic-poky/meta/recipes-devtools/python/python-smartpm
Robert Yang e788961cd8 smart:cache.py: getPackages() matches name + arch
It only matched name ony in the past, for example:
smart install busybox (matched)
but:
smart install busybox@core2_64 (didn't match)

The installation is very slow when no match since it would seach all the
packages in the repo, and what we use mostly in oe-core is the second
case, so the installation is very slow when install COMPLEMENTARY
packages such as the task do_populate_sdk.

This patch makes it match both.

* Speed up
  MACHINE = "qemux86-64"
  - When multilib enabled:
    $ bitbake core-image-sato -cpopulate_sdk
    time: 6m5s -> 2m34s (Reduce 57% )

    $ bitbake core-image-minimal -cpopulate_sdk
    time: 2m1s -> 1m26s (Reduce 28% )

    $ bitbake core-image-sato-sdk
    time: 10m15s -> 7m12s (Reduce 29% )

  - When multilib NOT enabled:
    $ bitbake core-image-sato -cpopulate_sdk
    time: 4m25s -> 2m28s (Reduce 44% )

[YOCTO #8389]

(From OE-Core rev: dae4149009be722943cc7deec7f03e87b77ea59b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 15:07:49 +01:00
..
smart-add-for-rpm-ignoresize-check.patch python-smartpm: Add checking for "rpm-ignoresize" option 2014-10-24 17:36:14 +01:00
smart-already-installed-message.patch python-smartpm: change "already installed" warnings into info messages 2015-06-11 23:59:10 +01:00
smart-attempt-fix.patch python-smartpm: Improve warnings/errors consistency 2015-07-20 10:40:41 +01:00
smart-attempt.patch python-smartpm: 1.4.1 -> 1.5 2015-07-09 18:00:18 +01:00
smart-cache.py-getPackages-matches-name-version.patch smart:cache.py: getPackages() matches name + arch 2015-10-01 15:07:49 +01:00
smart-channelsdir.patch smart: disable CHANNELSDIR 2013-04-08 16:57:03 +01:00
smart-improve-error-reporting.patch python-smartpm: 1.4.1 -> 1.5 2015-07-09 18:00:18 +01:00
smart-recommends.patch python-smartpm: 1.4.1 -> 1.5 2015-07-09 18:00:18 +01:00
smart-rpm4-fixes.patch python-smartpm: Add patches for rpm4 2014-09-30 21:36:13 +01:00
smart-set-noprogress-for-pycurl.patch smartpm: set noprogress for pycurl 2015-08-01 07:34:06 +01:00
smartpm-rpm5-nodig.patch python-smartpm: 1.4.1 -> 1.5 2015-07-09 18:00:18 +01:00