[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lzip-bug] Lzip patch for linux 4.19.8 released
From: |
Antonio Diaz Diaz |
Subject: |
[Lzip-bug] Lzip patch for linux 4.19.8 released |
Date: |
Sat, 12 Jan 2019 22:17:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
I am pleased to announce the release of the lzip patch for linux 4.19.8.
Since 2016 I maintain a patch adding lzip decompression support to the
linux kernel. This includes support for lzip-compressed kernel image,
initramfs, initrd, modules, and squashfs filesystems. The patch
implements a linux module named lzip_decompress.
Lzip related components in the kernel
=====================================
The lzip_decompress module in lib/lzip_decompress.c provides a versatile
lzip decompression function able to do buffer to buffer decompression or
stream decompression with fill and flush callback functions. The usage
of the function is documented in include/linux/lzip.h.
For decompressing the kernel image, initramfs, and initrd, there is a
wrapper function in lib/decompress_lunzip.c providing the same common
interface as the other decompress_*.c files, which is defined in
include/linux/decompress/generic.h.
For kernel makefiles, two commands are provided in scripts/Makefile.lib
for use with $(call if_changed). The kernel image must be compressed
with $(call if_changed,klzip) which will append a four-byte trailer
containing the size of the uncompressed data, which is needed by the
boot code. Other things should be compressed with $(call if_changed,lzip).
Testing
=======
Xlunzip is a test tool for the lzip_decompress module. It is similar to
lunzip, but it uses the lzip_decompress module as a backend. The xlunzip
tarball contains a copy of the lzip_decompress module and can be
compiled and tested without downloading or applying the patch to the
kernel. The homepage of xlunzip is at
http://www.nongnu.org/lzip/xlunzip.html
The patch can be downloaded from
http://download.savannah.gnu.org/releases/lzip/kernel/linux-4.19.8_lzip-0.diff.lz
The sha256sum is:
c48782087ddf576c8e4c9aa095385d9644ae74c317b9d9cce061effdb0fe57f1
linux-4.19.8_lzip-0.diff.lz
Please, test it and report any bugs you find.
Thanks,
Antonio Diaz, lzip author and maintainer.
--
If you care about long-term archiving, please help me replace xz with
lzip. See http://www.nongnu.org/lzip/lzip_benchmark.html#xz1
http://www.nongnu.org/lzip/manual/lzip_manual.html#Quality-assurance and
http://www.nongnu.org/lzip/xz_inadequate.html Thanks.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Lzip-bug] Lzip patch for linux 4.19.8 released,
Antonio Diaz Diaz <=