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

Bug#790095: lsinitramfs(8): multiple-segmented initramfs supported



Control: tag -1 pending

On Sat, 27 Jun 2015 08:53:59 +0900 Osamu Aoki <osamu@debian.org> wrote:
> Package: initramfs-tools
> Version: 0.120
> Severity: normal
> Tags: patch
> 
> From initramfs-tools 0.118 (Oct. 2014):
>   * [d5f4cd6] lsinitramfs: Parse and list files that include early microcode.
>     Thanks to Brett Parker and Olivier Berger. (Closes: #717805)
> 
> So the manpage description as the following is incorrect.
> | BUGS
> |        lsinitramfs  cannot deal with multiple-segmented initramfs images, such
> |        as those created when an early  (uncompressed)  initramfs  with  system
> |        firmware is prepended to the regular compressed initrams, or when over$B!>(B
> |        lay data is appended to the initramfs.
> 
> So please knock off these lines.
[...]

The last bit is still true - we only support a single uncompressed
segment followed by a single compressed segment.  I don't know how to
support multiple compressed segments, as in general we can't find out
how long each segment is.  (But I think dracut does it, so maybe we
could copy from them.)

So I've applied this change:

--- a/lsinitramfs.8
+++ b/lsinitramfs.8
@@ -38,10 +38,9 @@ List content of two initramfs files in verbose mode:
 
 .SH BUGS
 .BR lsinitramfs
-cannot deal with multiple-segmented initramfs images, such as those created
-when an early (uncompressed) initramfs with system firmware is prepended to
-the regular compressed initrams, or when overlay data is appended to the
-initramfs.
+cannot deal with multiple-segmented initramfs images, except where an
+early (uncompressed) initramfs with system firmware is prepended to
+the regular compressed initramfs.
 
 .SH AUTHOR
 The initramfs-tools are written by Maximilian Attems <maks@debian.org>
--- END ---

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett

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


Reply to: