Re: [PATCH] Fix initramfs size calculation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Holzheu
Date: Thursday, August 26, 2010 - 1:55 am

Hello Sam,

On Wed, 2010-08-25 at 21:56 +0200, Sam Ravnborg wrote:

Then still the unpack_to_rootfs() function will not get the correct size
of the compressed file, because "__initramfs_end - __initramfs_start"
can be bigger than the real file size depending on the used the
alignment. I would assume that not all decompression functions will
work, if a bigger value is passed to decompress_method().

Michael




--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix initramfs size calculation, Michael Holzheu, (Wed Aug 25, 8:57 am)
Re: [PATCH] Fix initramfs size calculation, Sam Ravnborg, (Wed Aug 25, 11:06 am)
Re: [PATCH] Fix initramfs size calculation, Hendrik Brueckner, (Wed Aug 25, 12:15 pm)
Re: [PATCH] Fix initramfs size calculation, Sam Ravnborg, (Wed Aug 25, 12:56 pm)
Re: [PATCH] Fix initramfs size calculation, H. Peter Anvin, (Wed Aug 25, 1:10 pm)
Re: [PATCH] Fix initramfs size calculation, Michael Holzheu, (Thu Aug 26, 1:46 am)
Re: [PATCH] Fix initramfs size calculation, Michael Holzheu, (Thu Aug 26, 1:55 am)