From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRwiX-0008Ge-2D for mharc-grub-devel@gnu.org; Sat, 06 Feb 2016 01:51:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRwiU-0008Fp-27 for grub-devel@gnu.org; Sat, 06 Feb 2016 01:51:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRwiQ-0008OJ-QF for grub-devel@gnu.org; Sat, 06 Feb 2016 01:51:33 -0500 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:34619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRwiQ-0008OE-Hc for grub-devel@gnu.org; Sat, 06 Feb 2016 01:51:30 -0500 Received: by mail-lf0-x233.google.com with SMTP id j78so69798657lfb.1 for ; Fri, 05 Feb 2016 22:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type; bh=H30vJgE2C1npSBzVwZc/nwFjup+vAlEF/qjoB5IsnJw=; b=PJK2VvUl8D2RGgoAL8n9i+ze0Qx0ak2IQ6sc/IthW2We5GyatWXjgZ9RYGnEU7FNOH MSMviDXsYxYkk7talow6+lWn2/5Vqukoam3mUstEU7YyltE+jtoH9YZ69Krr78DRUzi1 JtxeGsZt2LU3G8cay0WDLhm3kjYbM0s2dntCCAzROJzJkEg3DbZczcw//+Dd+kn4lwnQ KQmM4UGYciwpSxgEPlhB2oR9TXz2RTBMDDQcQrEFDJ/8KFhlVF5f8QK6PWIDt0DtyhCy Ydb8mvrQ/7DicQXCeYy715bbIslsQiZHMp6kBTr3XrPy1Jek4IVXAiL+yvmJhpAo7moA n4ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=H30vJgE2C1npSBzVwZc/nwFjup+vAlEF/qjoB5IsnJw=; b=dLu6HGNl/UVRtV2h0aMj5k1zmoX/rhpNY2hIhjgx8QBET5RFUXMbhOHUTByK1R8+RD 2QI24pEOuVbl8ulRtzVTBmDSHgw3jWjMiAiIknXlj4lXSiNYphKAjdjJhbbP3uVwa3c5 mJGIDd2bSsawHzl7DpHaUoVUi2iINi43YafD4cwIJlHiclrIFczVTvI1ny/Fxl/8aa6Z 4LDIgOzQVXPajuH00gtR8STNao9NMoMSWo+tXZZMNJtH4aSZkT3v5eIixLTPs8pPPXpN IGOOI06SmuqNEmK245dmkShCK+LM4xCoUHn0wZkNch1FbQjifoRKO52H7AJNgtnimcVC tyvQ== X-Gm-Message-State: AG10YOSMLWh20XHIWlRR2JFOUa59dVt90ThdXJFp+YaAFQpCD2zx8v/Ilo6+Sn0JQ0BrIQ== X-Received: by 10.25.165.133 with SMTP id o127mr7541629lfe.105.1454741489624; Fri, 05 Feb 2016 22:51:29 -0800 (PST) Received: from [192.168.1.41] (ppp109-252-76-159.pppoe.spdop.ru. [109.252.76.159]) by smtp.gmail.com with ESMTPSA id um4sm2609609lbb.1.2016.02.05.22.51.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 22:51:28 -0800 (PST) Subject: Re: [PATCH 1/1] support loading of custom initrd images To: Christian Hesse References: <1454668980-25352-1-git-send-email-list@eworm.de> <56B4D61D.5010205@gmail.com> <20160205184450.197ddab7@leda.localdomain> From: Andrei Borzenkov Message-ID: <56B597EF.9000503@gmail.com> Date: Sat, 6 Feb 2016 09:51:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160205184450.197ddab7@leda.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="e8xsur79krOq4w5sMdagilOIa3aeRBLKN" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::233 Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 06:51:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --e8xsur79krOq4w5sMdagilOIa3aeRBLKN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 05.02.2016 20:44, Christian Hesse =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> +Give custom initrd images to be loaded in addition to the initrd ima= ge >>> +found for the kernel. One use case is to load Intel ucode image. >>> + =20 >> >> Is there any other use case? Both dracut and initramfs-tools already a= dd >> early cpio with microcode to generated initrd. This is bootloader >> agnostic and better solution. >=20 > Running Arch Linux here, mkinitcpio does not do that. >=20 > The ucode has to be in uncompressed initramfs, so dracut and initramfs-= tools > use a concatenated image? Yes. > I think this was discussed for mkinitcpio, but denied for any reason. W= ould > have to search for references... > We have a downstream bug about dealing with Intel ucode in bug tracker.= [0] >=20 > Nevertheless I have another use case: > I do use Yubikeys in challenge/response mode to open my LUKS encrypted > partition. [1] (This is not specific for mkinitcpio but works with drac= ut as > well.) The challenges are stored in an extra initramfs. This is require= d if > you want to update the challenge on every use - recompressing the initr= amfs > on every boot is not a good option. >=20 Why your initrd cannot simply read this file from /boot itself? --e8xsur79krOq4w5sMdagilOIa3aeRBLKN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAla1l+8ACgkQR6LMutpd94yk1ACffja6GZePPkrulE/mfbOgtK4q 4qAAn1qfxhaRdi4l6bkZcFp+ye2JGRmY =Oz3z -----END PGP SIGNATURE----- --e8xsur79krOq4w5sMdagilOIa3aeRBLKN--