diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-04-04 17:02:19 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-05 14:33:57 +0100 |
commit | 4d364f27e76cba86155c29719710215249a231f0 (patch) | |
tree | 6d135af5d00095a5688f879411e0c8fc6e8af2c4 /meta/classes/lib_package.bbclass | |
parent | af5f423887d1c41cf7279f6e537077726ae13082 (diff) | |
download | poky-4d364f27e76cba86155c29719710215249a231f0.tar.gz |
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].
(From OE-Core rev: 51c24904cc1bc823bccc3f179b8d7a192dace168)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/lib_package.bbclass')
0 files changed, 0 insertions, 0 deletions