diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-09 09:51:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-05 13:14:51 +0000 |
commit | b24ef37460f230dba3dec646a9eabc82a56f0821 (patch) | |
tree | 7328af1b74345f880c8989194817489aeb167ad1 /meta/recipes-graphics/pong-clock | |
parent | 2b8f2e770e074ee6735440c2e44eb56397857858 (diff) | |
download | poky-b24ef37460f230dba3dec646a9eabc82a56f0821.tar.gz |
package_rpm.bbclass: Optimise per file dependency handling
Currently the process for injecting the per file rpm dependencies into
rpmbuild is painfully slow. Its done through the repeated execution of
a script which has to return the correct value in each case. This continual
execution means the CPU usage of rpmbuild is low.
This patch allows the option of collapsing the per file dependencies to
a per package basis and injecting them through the .spec file. This removes
the execution overhead and allows rpmbuild to run at 100% of cpu.
Ultimately it would be nice to inject the per file dependencies through
the .spec file however that is not currently possible.
Since few people use the per file dependency information, this patch
goes for the faster approach. It can be enabled if anyone needs it although
I'd mention that its being used to us as this code may well go away in
the future if nobody complains.
(From OE-Core rev: be40f6d0bb80274366af00461112af65687a4de8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/pong-clock')
0 files changed, 0 insertions, 0 deletions