]> code.ossystems Code Review - openembedded-core.git/commit
rpm: Fix file contention issue
authorMark Hatle <mark.hatle@windriver.com>
Sun, 30 Sep 2012 00:19:16 +0000 (19:19 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 10:14:53 +0000 (11:14 +0100)
commitd05c5da6b972db97d3eb66b659f5641368c9ebe4
treeaadf9893f4a258cb187eadf237dc5bc378aa6e20
parent52ae2c2439bcb78323f61a3666e9b630b3a40b15
rpm: Fix file contention issue

There is an issue that is caused when doing the install step of rpm on systems
with high parallelization where two jobs of make will fight for the same file
while installing the sub-directory lua. This is caused by the same makefile rule
being called twice in a way that both could be trying to install at the same
time.

This fix renames the linking rule so it will always be run after the needed
files are added and removed it's dependency so the required rule would only
run once.

This was tested heavily using ppss to run mutliple installs in parallel. This
wouldn't happen in practise but it was tested will all the individual rules as
well.

Signed-off-by: Morgan Little <morgan.little@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm/makefile-am-exec-hook.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_5.4.9.bb