On Sat, 25 Mar 2017 23:50:40 +0000 Ariel Santana Naranjo <snar...@gmail.com> wrote:
> 2017-03-25 22:07 GMT+00:00 Pádraig Brady <p...@draigbrady.com>: > > > > > - xz uncompressed data is checksummed with crc64 by default > > > > But this is exactly the problem, that Busybox does not understand > crc64. > nor the Linux kernel[1]: "Notes on compression options Since the XZ Embedded supports only streams with no integrity check or CRC32, make sure that you don't use some other integrity check type when encoding files that are supposed to be decoded by the kernel. With liblzma, you need to use either LZMA_CHECK_NONE or LZMA_CHECK_CRC32 when encoding. With the xz command line tool, use --check=none or --check=crc32." [1] http://lxr.free-electrons.com/source/Documentation/xz.txt > > > Your proposal is to specify --check=crc32 when compressing > > to support checks with busybox unxz. > > > > Yes, or switch to a safe format. > > > > This seems fair enough, but would also probably hit > > the pristine-tar issue mentioned in this thread: > > https://lists.gnu.org/archive/html/coreutils/2017-01/msg00014.html > > > > If I understood how pristine-tar works, it seems like yet another > reason to choose a simpler format, with not so many options for > pristine-tar to figure out, no? > > Thank you, > > Ariel Santana.
pgptMQW5bFLdu.pgp
Description: OpenPGP digital signature