]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildhistory: optimise getting package size list
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 4 Apr 2016 05:02:19 +0000 (17:02 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Apr 2016 09:03:45 +0000 (10:03 +0100)
commit51c24904cc1bc823bccc3f179b8d7a192dace168
treeb7a9990f6e7918776f20bc3164e9bc073ec91b2c
parentd60806e56aed2f62f6a0e030a564f7fdc4a1314d
classes/buildhistory: optimise getting package size list

Invoking oe-pkgdata-util in turn for every package in the list was slow
with a large image. Modify oe-pkgdata-util's read-value command to take
an option to read the list of packages from a file, as well as prefix
the value with the package name; we can then use this to get all of the
package sizes at once. This reduces the time to gather this information
from minutes to just a second or two.

Fixes [YOCTO #7339].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass
scripts/oe-pkgdata-util