[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#815915: lsinitramfs fails to properly skip the padding after each cpio archive



On Wed, 30 Mar 2016 14:33:52 -0300 Henrique de Moraes Holschuh <hmh@debian.org> wrote:
> (note: I am not subscribed to this bug report. If you want a reply from
> me, please keep me Cc'd).
[...]
> Now, to the root cause of the breakage:
> 
> The heuristics initramfs-tools "lsinitramfs" uses (used?) to locate the
> next initramfs are incomplete (it does not skip over the padding at the
> end of each initramfs)

Nope.

[...]
> lsinitramfs needs to skip all zero bytes (or dwords) to locate the next
> initramfs segment, instead of assuming a cpio block size of 512 bytes.
[...]

That is exactly what it does.

Please don't guess what the 'root cause' is, actually do the research.

Ben.

-- 
Ben Hutchings
All the simple programs have been written, and all the good names taken.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: