openwrtv4/package
Jo-Philipp Wich 0090adcd5c opkg: vfork external gzip command to uncompress data
Opkg's builtin decompression code is unsuitable to process nested archives as
it uses a single shared state and relies on undefined seek behaviour for pipes.

Rework the extraction logic to use the external gzip command as I/O filter for
decompressing data and remove the builtin inflate code entirely.

This shrinks the final opkg binary by about 4KB and results in less runtime
memory consumption due to efficient use of vfork() and less copy-on-write
operations in the forked child.

Rework by Felix: create a thread that relays data to the gzip process
instead of using a fragile poll loop

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-26 11:17:32 +01:00
..
base-files base-files: add support for overlaying rootfs content 2016-12-20 09:35:36 +01:00
boot kirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build code 2016-12-24 09:40:46 +01:00
devel treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
firmware treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
kernel kernel: split kmod-lib-zlib into two packages to keep it in sync with kernel dependencies 2016-12-26 11:11:49 +01:00
libs libpcap: Fix build when PACKAGECONFIG ipv6 is not enabled 2016-12-24 11:59:42 +01:00
network netifd: Upstep to git HEAD version 2016-12-25 21:01:02 +01:00
system opkg: vfork external gzip command to uncompress data 2016-12-26 11:17:32 +01:00
utils treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
Makefile build: add CHECK_ALL variable to allow make download/check to include not selected packages 2016-12-17 10:36:52 +01:00