Skip to content
Snippets Groups Projects
  • Mike Frysinger's avatar
    f68ab43d
    lzma: ignore unset filesizes · f68ab43d
    Mike Frysinger authored
    
    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: default avatarMike Frysinger <vapier@gentoo.org>
    f68ab43d
    History
    lzma: ignore unset filesizes
    Mike Frysinger authored
    
    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: default avatarMike Frysinger <vapier@gentoo.org>