summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-26 20:54:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-30 11:37:28 +0100
commitb67fccc81e666339f24b26fe4c2aef6a9241fb2d (patch)
tree3bf2819fbeabaebcd97efec4b6cda3e3abf7d9c5 /meta/recipes-core
parentc1c9144f67108fdc6b7c62d21c9a638e38f12fb4 (diff)
downloadpoky-b67fccc81e666339f24b26fe4c2aef6a9241fb2d.tar.gz
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. (From OE-Core rev: 2fb5f72b47840ed7f540df181595878e3f5ba4c6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions