[EDIT: The original message was rejected because it was too large; I
am re-sending w/ bzip2'd attachment]

This (rather enormous) patch adds the unzstd, zstdcat, and zstd -d
applets; as well as zstd support for modprobe, etc. (Arch Linux is now
using zstd format by default for its pacman packages, initramfs, and
kernel modules.)

When enabled, this adds around 28kb to the statically linked musl-x86
32-bit busybox. But the patch adds some ~14k lines of code and
comments, mostly in the libarchive/zstd directory. The code was pulled
unmodified from the current https://github.com/facebook/zstd.git
repository, only the bare minimum of files needed for decompression
are included.

Among the files is an xxhash.[ch] implementation which might be useful
to other applets in the future, but I left it in the zstd directory
for now.

 - Jeff

Attachment: 0001-Add-support-for-zstd-decompression.patch.bz2
Description: BZip2 compressed data

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to