diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-23 10:43:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-29 10:16:14 +0100 |
commit | a73c25d2ded3a72159f2ce527e7307808c734686 (patch) | |
tree | 5e27f29a2b6c6b91cf20a64508878646013e2ba7 /meta/classes/rootfs_rpm.bbclass | |
parent | 656726ad6044d8b7e5661251a985770c93cb9242 (diff) | |
download | poky-a73c25d2ded3a72159f2ce527e7307808c734686.tar.gz |
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>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 4551f7a608..cd9c5ab778 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -11,6 +11,7 @@ IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "zypper", | |||
11 | ROOTFS_PKGMANAGE_BOOTSTRAP = "" | 11 | ROOTFS_PKGMANAGE_BOOTSTRAP = "" |
12 | 12 | ||
13 | do_rootfs[depends] += "rpm-native:do_populate_sysroot" | 13 | do_rootfs[depends] += "rpm-native:do_populate_sysroot" |
14 | do_rootfs[depends] += "rpmresolve-native:do_populate_sysroot" | ||
14 | 15 | ||
15 | # Needed for update-alternatives | 16 | # Needed for update-alternatives |
16 | do_rootfs[depends] += "opkg-native:do_populate_sysroot" | 17 | do_rootfs[depends] += "opkg-native:do_populate_sysroot" |