]> code.ossystems Code Review - openembedded-core.git/commit
classes/rootfs_rpm: improve speed of RPM rootfs construction
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 23 Jul 2012 09:43:22 +0000 (10:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Jul 2012 10:13:51 +0000 (11:13 +0100)
commit9135d351ba7cb21e50239d2b310565680bd4fdca
tree09f01db01e59305d101484e90b19b9580f01da1a
parent3861dc6f52c8c3abe925302dadba15d90efbd6b5
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@linux.intel.com>
meta/classes/package_rpm.bbclass
meta/classes/rootfs_rpm.bbclass
meta/recipes-devtools/rpm/rpmresolve/rpmresolve.c [new file with mode: 0644]
meta/recipes-devtools/rpm/rpmresolve_1.0.bb [new file with mode: 0644]