[U-Boot] [PATCH] lzma: ignore unset filesizes

Wolfgang Denk wd at denx.de
Sat Dec 5 01:50:08 CET 2009


Dear Mike Frysinger,

In message <1259922915-22943-1-git-send-email-vapier at gentoo.org> you wrote:
> The Linux kernel build system changed how it compresses things with LZMA
> such that the header no longer contains the filesize (it is instead set to
> all F's).  So if we get a LZMA image that has -1 for the 64bit field,
> let's just assume that the decompressed size is unknown and continue on.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  lib_generic/lzma/LzmaTools.c |    9 ++++++---
>  1 files changed, 6 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Doubt is a pain too lonely to know that faith is his twin brother.
- Kahlil Gibran


More information about the U-Boot mailing list