]> code.ossystems Code Review - openembedded-core.git/commit
patch.bbclass: Use one TMPDIR per patching process
authorConstantin Musca <constantinx.musca@intel.com>
Wed, 12 Sep 2012 11:58:18 +0000 (14:58 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Sep 2012 08:49:53 +0000 (09:49 +0100)
commit16dbf505c4fdd9fe1820d950ab05c8ea99ad7505
treee4629c79478a0893bdc933c7847931b580d13b85
parent5c3fec058a2d370fbb625901ca1822ce04927ac2
patch.bbclass: Use one TMPDIR per patching process

We must use one TMPDIR per process (/tmp/${PID}) so that the patching
processes don't generate the same temp file name (the "patch" program
uses the TMPDIR environment variable for deciding where to create the
temp files).

[YOCTO #3070]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/patch.bbclass