Commit Graph

2 Commits

Author SHA1 Message Date
Richard Purdie
d080eaa163 bitbake: compress: Allow to operate on file descriptor
The code works fine if we pass a file descriptor in and we need to
do this from the siggen code so add that as a valid input.

(Bitbake rev: fc8d74b7de576005ecf67920501dc7e694880fda)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Joshua Watt
8410987884 bitbake: bitbake: Add piping compression library
Adds a library that implements file-like objects (similar to
gzip.GzipFile) that can stream to arbitrary compression programs. This
is utilized to implement a LZ4 and zstd compression API.

(Bitbake rev: 61c3acd058ea018696bd284b3922d0b458838d05)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00