[bitbake-devel] [PATCH 0/1] Add support for 7-Zip compressed files

Mark Hatle mark.hatle at windriver.com
Mon Jan 4 20:35:41 UTC 2016


On 1/4/16 12:51 PM, Juro Bystricky wrote:
> 7-Zip offers substantially better compression than other compression
> formats. In fact, 7-Zip explicitly claims it provides the best compression ratio.
> To quickly test the claim, I compressed a gcc 5.2 538.8 MB tree snapshot in various ways:
> 
> tar.bz2: 114.0 MB
> tar.gz:  112.4 MB
> tar.7z:   70.3 MB

I thought 7z was an archive format, that included compression information.

Since the compression that makes 7z better then bz2 is lzma, and 'xz' uses lzma
as it's compression format.  (In my experience, .xz is really common on Linux --
7z is only common on Windows.)

I'm not saying don't support .7z, but adding support for .tar.xz and others
would make equal sense to me.  (There are a number of formats out there that
could and likely should be added.)

--Mark

> At present, there is no support for 7-Zip compressed files in Bitbake.
> Various public Git repositories only allow pushing files of certain max size,
> AFAIK Github only allows 100MB, so there are cases where it is desirable
> to use maximum compression possible.
> 
> 
> Juro Bystricky (1):
>   bitbake:fetch2/__init__.py: Add support for 7-Zip
> 
>  bitbake/lib/bb/fetch2/__init__.py | 4 ++++
>  1 file changed, 4 insertions(+)
> 




More information about the bitbake-devel mailing list