Received: from list by lists.gnu.org with archive (Exim 4.71) id 1estI8-0004LC-3y for mharc-grub-devel@gnu.org; Mon, 05 Mar 2018 11:48:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1estI4-0004Ki-4b for grub-devel@gnu.org; Mon, 05 Mar 2018 11:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1estI0-0000Wi-2g for grub-devel@gnu.org; Mon, 05 Mar 2018 11:48:44 -0500 Received: from boksu.net-space.pl ([185.15.1.105]:38796) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1estHz-0000VQ-MO for grub-devel@gnu.org; Mon, 05 Mar 2018 11:48:39 -0500 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@boksu.net-space.pl)) by router-fw-old.local.net-space.pl id S1830294AbeCEQsa (ORCPT ); Mon, 5 Mar 2018 17:48:30 +0100 Date: Mon, 5 Mar 2018 17:48:30 +0100 From: Daniel Kiper To: sparky@bluefang-logic.com Cc: grub-devel@gnu.org Subject: Re: [PATCH] grub-mkconfig/10_linux: Support multiple early initrd images Message-ID: <20180305164830.GD27749@router-fw-old.local.net-space.pl> References: <20180224224458.31575-1-sparky@bluefang-logic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180224224458.31575-1-sparky@bluefang-logic.com> User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.15.1.105 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 16:48:45 -0000 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 > Signed-off-by: Matthew S. Turnbull Reviewed-by: Daniel Kiper If there are not objections I will apply this in a week or so. Daniel PS Please CC me next time.