fs/iso9660: fix transparent (de)compression
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 2 Jan 2018 20:04:12 +0000 (21:04 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Jan 2018 20:57:43 +0000 (21:57 +0100)
commit158e832aac8255a7e0ae39164281fe395f2013fc
tree4a545e637dbbd625ea803363d7abb371533056b3
parentfa4ee4dc0a46754b737a99e02800703a9171a309
fs/iso9660: fix transparent (de)compression

It needs mkzftree from zisofs-tools, so we add a dependency to it, and
we call that one explicitly (to avoid using the one from the host in
PATH).

It also needs the the uncompressed kernel image, but because it is
already in target/ so it gets compressed by mkzftree. We have two
options:
  - compress everything but the kernel image,
  - compress everything, kernel included, and recopy it later.

We choose the latter, because it is the simplest solution. So, we always
define the kernel-copy hook, but only register it when needed.

Finally, it needs a kernel with support for transparent
(de)compression, so we update the existing test config.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
fs/iso9660/iso9660.mk
support/testing/conf/minimal-x86-qemu-kernel.config