[oe-commits] Paul Eggleton : classes/rootfs_rpm: improve speed of RPM rootfs construction

git at git.openembedded.org git at git.openembedded.org
Sat Jul 28 10:24:09 UTC 2012

Module: openembedded-core.git
Branch: master-next
Commit: 9135d351ba7cb21e50239d2b310565680bd4fdca
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9135d351ba7cb21e50239d2b310565680bd4fdca

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Mon Jul 23 10:43:22 2012 +0100

classes/rootfs_rpm: improve speed of RPM rootfs construction

Improve the performance of the RPM backend during do_rootfs by
performing most of the package name to file resolution in a separate
utility written in C, processing the entire list of packages at once
rather than running rpm on the command line which loads the RPM database
for every package.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>


 meta/classes/package_rpm.bbclass                  |  109 ++++-----
 meta/classes/rootfs_rpm.bbclass                   |    1 +
 meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c |  273 +++++++++++++++++++++
 meta/recipes-devtools/rpm/rpmresolve_1.0.bb       |   22 ++
 4 files changed, 341 insertions(+), 64 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=9135d351ba7cb21e50239d2b310565680bd4fdca

More information about the Openembedded-commits mailing list