binman: Put compressed data into separate files
authorSimon Glass <sjg@chromium.org>
Tue, 6 Jul 2021 16:36:36 +0000 (10:36 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:35 +0000 (10:27 -0600)
commit650ead1a4aac3010a029526d639682096c1d0469
tree20995aa4aa2332436e7bce0fa4e1a4d2353b7f26
parent72fa1ad8d9fe58153ca72e3886b8d846299e8fff
binman: Put compressed data into separate files

At present compression uses the same temporary file for all invocations.
With multithreading this causes the data to become corrupted. Use a
different filename each time.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/tools.py