grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] grub-mkconfig/10_linux: Support multiple early initrd images


From: Christian Hesse
Subject: Re: [PATCH] grub-mkconfig/10_linux: Support multiple early initrd images
Date: Sat, 17 Mar 2018 23:57:25 +0100

Daniel Kiper <address@hidden> on Mon, 2018/03/05 17:48:
> On Sat, Feb 24, 2018 at 05:44:58PM -0500, Matthew S. Turnbull wrote:
> > Add support for multiple, shared, early initrd images. These early
> > images will be loaded in the order declared, and all will be loaded
> > before the initrd image.
> >
> > While many classes of data can be provided by early images, the
> > immediate use case would be for distributions to provide CPU
> > microcode to mitigate the Meltdown and Spectre vulnerabilities.
> >
> > There are two environment variables provided for declaring the early
> > images.
> >
> > * GRUB_EARLY_INITRD_LINUX_STOCK is for the distribution declare
> >   images that are provided by the distribution or installed packages.
> >   If undeclared, this will default to a set of common microcode image
> >   names.
> >
> > * GRUB_EARLY_INITRD_LINUX_CUSTOM is for user created images. User
> >   images will be loaded after the stock images.
> >
> > These separate configurations allow the distribution and user to
> > declare different image sets without clobbering each other.
> >
> > This also makes a minor update to ensure that UUID partition labels
> > stay disabled when no initrd image is found, even if early images are
> > present.
> >
> > This is a continuation of a previous patch published by Christian
> > Hesse in 2016:
> > http://lists.gnu.org/archive/html/grub-devel/2016-02/msg00025.html
> >
> > Down stream Gentoo bug:
> > https://bugs.gentoo.org/645088
> >
> > Signed-off-by: Robin H. Johnson <address@hidden>
> > Signed-off-by: Matthew S. Turnbull <address@hidden>  
> 
> Reviewed-by: Daniel Kiper <address@hidden>
> 
> If there are not objections I will apply this in a week or so.

Thanks for picking my work and bringing this upstream! Much appreciated I can
use this now.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

Attachment: pgp6XB_1YT1IO.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]