Bug 11912 - Compress files under /var/lib/opkg/lists/
Summary: Compress files under /var/lib/opkg/lists/
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: unspecified
Hardware: All Multiple
: Undecided normal
Target Milestone: 0.3.6
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-08-08 21:16 UTC by Haris Okanovic
Modified: 2018-01-21 09:27 UTC (History)
1 user (show)

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 Haris Okanovic 2017-08-08 21:16:47 UTC
After an `opkg update`, cached index files under /var/lib/opkg/lists/ can be very large, mostly because they're stored on-disk uncompressed. For example, the feed index at [1] is 6.5MB but can gzip compresses to 600K (more than 10x reduction in size). opkg should (by default or by option) gzip cached indexes, and decompress them on the fly when needed, to avoid wasting disk.

[1] http://download.ni.com/ni-linux-rt/feeds/2017/arm/ipk/cortexa9-vfpv3/Packages
Comment 1 Alejandro del Castillo 2018-01-21 09:27:06 UTC
fixed on ec7d482b2dc71a0a8d767500edf7454f72b95915