From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Marcin Szewczyk <marcin.szewczyk@wodny.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: An inconsistent behaviour if using built-in initramfs and damaged external one
Date: Mon, 12 Jun 2017 21:24:49 -0300 [thread overview]
Message-ID: <20170613002449.GC25393@khazad-dum.debian.net> (raw)
In-Reply-To: <20170613000622.GB25393@khazad-dum.debian.net>
On Mon, 12 Jun 2017, Henrique de Moraes Holschuh wrote:
> So, you can just have /kernel/x86/microcode/<processor_vendor>.bin
> (without leading /kernel, /kernel/x86, /kernel/x86/microcode) in an
> early initramfs, and it will *work* for early microcode update purposes.
...
> So, if the early initramfs has a/, a/b, and e/f/g/h, the kernel can use
> a/b and e/f/g/h for early initramfs purposes (e.g. microcode updates,
> ACPI table overrides, etc), but only a/ and a/b are likely to be present
> in the final initramfs. e/f/g/h will likely be dropped, because some
> leading path components are missing (e/, e/f, e/f/g)... *unless* they
> were created by a previously-loaded initramfs segment.
>
> I am not aware of anything that makes use of this behavior, but it is
> there since early initramfs images were introduced.
I better clarify this one. I don't know of anything that makes use of
this behavior *with the purpose of dropping uneeded files from the final
initramfs*.
iucode_tool[1] can optionally make use of the exact early initramfs
semanthics to shrink its size to the absolute minimum. That means it
will use the "doesn't require leading directory entries" feature, as
well as a 16-byte block size.
[1] https://gitlab.com/iucode-tool/iucode-tool/wikis/home
--
Henrique Holschuh
prev parent reply other threads:[~2017-06-13 0:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-12 20:15 Marcin Szewczyk
2017-06-13 0:06 ` Henrique de Moraes Holschuh
2017-06-13 0:24 ` Henrique de Moraes Holschuh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170613002449.GC25393@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin.szewczyk@wodny.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®