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>
Sun, 29 Jul 2012 09:16:14 +0000 (10:16 +0100)
commit0e8568df9484d8bbb94c8a73188e77a4b0f98d1a
treefded0e263185634a54abfc71ef940afb7277d1e2
parent32c6b7d73681568550ddb74433ced8d215c69f6e
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.

(From OE-Core rev: 9135d351ba7cb21e50239d2b310565680bd4fdca)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]