Re: [OE-core] [PATCH 6/6] patch.bbclass: do_patch: unset TMPDIR from environment

2014-03-14 Thread Robert Yang
On 03/14/2014 12:54 AM, Burton, Ross wrote: On 13 March 2014 16:46, Burton, Ross wrote: On 11 March 2014 17:08, Robert Yang wrote: We need unset it after we use it, otherwise it would affect the env after we run "bb.build.exec_func('do_patch', d)", and will cause unexpected errors. This a

Re: [OE-core] [PATCH 6/6] patch.bbclass: do_patch: unset TMPDIR from environment

2014-03-13 Thread Chris Larson
On Thu, Mar 13, 2014 at 9:54 AM, Burton, Ross wrote: > On 13 March 2014 16:46, Burton, Ross wrote: > > On 11 March 2014 17:08, Robert Yang wrote: > >> We need unset it after we use it, otherwise it would affect the env > >> after we run "bb.build.exec_func('do_patch', d)", and will cause > >> u

Re: [OE-core] [PATCH 6/6] patch.bbclass: do_patch: unset TMPDIR from environment

2014-03-13 Thread Burton, Ross
On 13 March 2014 16:46, Burton, Ross wrote: > On 11 March 2014 17:08, Robert Yang wrote: >> We need unset it after we use it, otherwise it would affect the env >> after we run "bb.build.exec_func('do_patch', d)", and will cause >> unexpected errors. > > This assignment has been there since Octobe

Re: [OE-core] [PATCH 6/6] patch.bbclass: do_patch: unset TMPDIR from environment

2014-03-13 Thread Burton, Ross
On 11 March 2014 17:08, Robert Yang wrote: > We need unset it after we use it, otherwise it would affect the env > after we run "bb.build.exec_func('do_patch', d)", and will cause > unexpected errors. This assignment has been there since October 2012, so what are the problems that this causes? R

[OE-core] [PATCH 6/6] patch.bbclass: do_patch: unset TMPDIR from environment

2014-03-11 Thread Robert Yang
The do_patch set TMPDIR via: os.environ['TMPDIR'] = process_tmpdir We need unset it after we use it, otherwise it would affect the env after we run "bb.build.exec_func('do_patch', d)", and will cause unexpected errors. [YOCTO #5113] Signed-off-by: Robert Yang --- meta/classes/patch.bbclass | 1