Bug 8353

Summary: Add multiple compression algorithms support (old issue #148)
Product: [Yocto Project Subprojects] opkg Reporter: Alejandro del Castillo <alejandro.delcastillo>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Undecided    
Version: 0.3.0   
Target Milestone: 0.4.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Alejandro del Castillo 2015-09-21 01:06:37 UTC
As far as I can understand, opkg uses libarchive that makes possible to use many different compression algorithms. But names "data.tar.gz" and "data.tar.xz" are hardcoded in opkg_archive.c, so files with "data.tar.xz" will fail.
It would be great to add xz support to opkg.

Originally reported by dima@golovin.in, Oct 30, 2014
-----------------------------------------------------------------------------

#1 paul.betafive (Oct 30, 2014)
This is something I definitely want to include support for in v0.4.0. I think for embedded platforms people may wish to use lz4 for its fast decompression speed.

#2 paul.betafive (Nov 10, 2014)
 Issue 151  has been merged into this issue.

#3 paul.betafive (Nov 10, 2014)
Issue 151  has been merged into this issue.
Comment 1 Alejandro del Castillo 2016-09-08 19:15:02 UTC
xz and bzip2 support added on 1053fbc7de095e53ed10a97e8c6d408f03767cd4.
Comment 2 Alejandro del Castillo 2018-11-26 16:25:00 UTC
added lz4 support on 30c5c723135efcf4d807c245c99defffecad1d8f