Re: [U-Boot] [PATCH] fill_scrapyard.py: Pass a directory to tempfile.mkstemp()

2015-10-20 Thread Tom Rini
On Tue, Oct 20, 2015 at 11:10:23AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > 2015-10-19 23:56 GMT+09:00 Tom Rini : > > In some cases os.rename() may later fail due to "Cross-device link" > > issues. The easy way to deal with this is to simply make our temporary > > file

[U-Boot] [PATCH] fill_scrapyard.py: Pass a directory to tempfile.mkstemp()

2015-10-19 Thread Tom Rini
In some cases os.rename() may later fail due to "Cross-device link" issues. The easy way to deal with this is to simply make our temporary file here as well rather than TMPDIR. Cc: Masahiro Yamada Signed-off-by: Tom Rini ---

Re: [U-Boot] [PATCH] fill_scrapyard.py: Pass a directory to tempfile.mkstemp()

2015-10-19 Thread Masahiro Yamada
Hi Tom, 2015-10-19 23:56 GMT+09:00 Tom Rini : > In some cases os.rename() may later fail due to "Cross-device link" > issues. The easy way to deal with this is to simply make our temporary > file here as well rather than TMPDIR. > > Cc: Masahiro Yamada