diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-26 20:54:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-26 22:07:54 +0100 |
commit | 2fb5f72b47840ed7f540df181595878e3f5ba4c6 (patch) | |
tree | 7649e021b455be5251f7fd675ae3ab351c58c151 /meta/recipes-core/base-files | |
parent | 288b7a9d0e6093f85e4a1d3e34d4332b9c43b47b (diff) | |
download | openembedded-core-2fb5f72b47840ed7f540df181595878e3f5ba4c6.tar.gz openembedded-core-2fb5f72b47840ed7f540df181595878e3f5ba4c6.tar.bz2 openembedded-core-2fb5f72b47840ed7f540df181595878e3f5ba4c6.tar.xz openembedded-core-2fb5f72b47840ed7f540df181595878e3f5ba4c6.zip |
package_rpm.bbclass: Replace shell provides/requires script with python version
The existing shell script is a fork bomb and forks off hundreds of
grep/cur/wc calls as it reads from its input stream and iterates over
the file data table for each line of input. This patch replaces the
shell code with python code which doesn't exec anything and hence runs
much faster without the exec() overhead. This speeds up rpm packaging
considerably, as can be measured simply by timing it, or watching the
processor utilisation.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-files')
0 files changed, 0 insertions, 0 deletions