]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Use binary mode when compressing data
authorSimon Glass <sjg@chromium.org>
Tue, 14 May 2019 21:53:45 +0000 (15:53 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commitb10fcf89686815a781091833a173ab3fc0573099
treeb1d5769698ce3d303f018b204237d38c17b30349
parent479f2021e3c4ced879c7e85f763b97ccda5ba6c6
binman: Use binary mode when compressing data

The lz4 utility inserts binary data in its output which cannot always be
converted to unicode (nor should it be). Fix this by using the new binary
mode for program output.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/blob.py
tools/binman/ftest.py