]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Set _tmppath to avoid races over tmp files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Nov 2011 16:59:29 +0000 (16:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:39:06 +0000 (16:39 +0000)
commit018442ed2cd251f85212dfa1d03c0b24a0750bfa
tree08286df1fb1a0f9f412879b3e46ff233090ef498
parentf541517be97e27951157e1dd10256e132c31ab1f
package_rpm: Set _tmppath to avoid races over tmp files

Occasionally we keep seeing "unable to open temp file" messages during
do_package_write_rpm tasks. This appears to happen when multiple
processes are writing rpm files and is likely due to using the
shared system temp directory. This patch changes the tmp path
to the package work directory meaning conflicts should become
a non-issue.

(From OE-Core rev: b2ef543284c8c8d0d3badb2e1bcadad1106982d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass