diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 00:10:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 13:38:15 +0000 |
commit | 548037acd63bd4859f8de8d23a3d12f36ce9f97f (patch) | |
tree | d65113dd818bceb8668392c711a4ae85067f811c /meta/recipes-core/busybox | |
parent | 4159ff761cf29a03aeb56c7686a4e7af02b52219 (diff) | |
download | openembedded-core-548037acd63bd4859f8de8d23a3d12f36ce9f97f.tar.gz openembedded-core-548037acd63bd4859f8de8d23a3d12f36ce9f97f.tar.bz2 openembedded-core-548037acd63bd4859f8de8d23a3d12f36ce9f97f.zip |
package.bbclass: Optimise the per file rpm handling
Currently a process was being forked off for each individual file
this class wanted to inspect with rpmdeps. This converts it to use
rpmdeps-oecore which allows batch processing of these dependencies.
For do_package for perl, this reduced the time by about 1 minute (33%).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index f35779dc49..5fb436ee23 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc @@ -216,9 +216,9 @@ python package_do_filedeps_append () { # Load/backup original set filerprovides = d.getVar('FILERPROVIDES_%s_%s' % (f_busybox, pkg), True) or "" - dep_pipe = os.popen('sed -e "s,^,Provides: ," %s/%s%s' % (pkgdest, pkg, f_busybox_links)) + dep_pipe = os.popen('sed -e "s,^,%s/%s%s Provides: ," %s/%s%s' % (pkgdest, pkg, f_busybox, pkgdest, pkg, f_busybox_links)) - process_deps(dep_pipe, pkg, "%s/%s%s" % (pkgdest, pkg, f_busybox), provides_files, requires_files) + process_deps(dep_pipe, pkg, provides_files, requires_files) # Add the new set filerprovides += d.getVar('FILERPROVIDES_%s_%s' % (f_busybox, pkg), True) or "" |