Bug 8353 - Add multiple compression algorithms support (old issue #148)
Summary: Add multiple compression algorithms support (old issue #148)
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.0
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: 0.4.0
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-21 01:06 UTC by Alejandro del Castillo
Modified: 2018-11-26 16:25 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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