From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 488C2138346 for ; Tue, 7 Jan 2020 02:32:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAC31E08C9; Tue, 7 Jan 2020 02:32:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66C5BE08C4 for ; Tue, 7 Jan 2020 02:32:43 +0000 (UTC) Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7B3634DE46 for ; Tue, 7 Jan 2020 02:32:41 +0000 (UTC) Received: (qmail 18575 invoked by uid 10000); 5 Jan 2020 07:30:49 -0000 Date: Sun, 5 Jan 2020 07:30:49 +0000 From: "Robin H. Johnson" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH v2 1/4] kernel-install.eclass: Install logic for dist-kernels Message-ID: References: <20200105062741.82357-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <20200105062741.82357-1-mgorny@gentoo.org> X-Archives-Salt: 894f26f9-151a-4901-baca-8085bb422841 X-Archives-Hash: d3b1661c49eba38ee0f4c9e2d8afe2c8 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 05, 2020 at 07:27:38AM +0100, Micha=C5=82 G=C3=B3rny wrote: > Introduce a new eclass that contains common logic needed to test > and install distribution kernels. This is the eclass common both > to kernels built from source and installed from binary packages. I'm 100% in favour of the concept here, but I have some implementation concerns. For the (public) record, Infra has been wrapping genkernel to build binary kernel + initramfs for internal usage for 5 years now. Conceptually, can you clarify why you are depending on dracut here, rather than using genkernel's initramfs mode? I'm not sure you're going to get correct build output in cases like x86_64 -> x86 cross-compiles. Why not call genkernel from the ebuild instead of re-inventing the wheel to compile the kernel yourself. --=20 Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead, Foundation Treasurer E-Mail : robbat2@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136 --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it. iQKTBAABCgB9FiEEveu2pS8Vb98xaNkRGTlfI8WIJsQFAl4RkKhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE RUJCNkE1MkYxNTZGREYzMTY4RDkxMTE5Mzk1RjIzQzU4ODI2QzQACgkQGTlfI8WI JsT8Zw//budw9AyQVxQMuDLkSF32U1l9DQFyiUY9sOWcAaGgGuJ14WHC5lWKGzCd w/zbijrqoiefgjQ31NW7DIGwQbtbmaTUiHRmYZEDTRUXjjSgJQVY8DIQ7UWg2DCI vQfZxXsnWktpM9SgaJxp1mkznjrroNaKO8fK+niSXTkuakSOXtf6axLzqhNDLWwb 1fiGI8lnfF9K3iNPH4Wzx+nFfxHV2B+/gmkAx0rTqqsBEgtF8A7sQYBbjjcesA8q DtU+6xi7qCnhQuBBYvwvJjBxu/9o0sG/cZLD/Iuu21pAOvDdZqUmyt4Eg54jpDyx K7nY1fh15bcmD/JzhmEx9BRTcjHqjYhOFHzB9LAwwmcIeWsuM/SMnojNN0DOokQy YjwEe3w7+JNOVBf7hlF+BXizV3YM8VzHowXR9q381432TE7AjBHCjku2sL8de9NK 3sXd+6zUpuvvTGFo2xHGZBCV/uMU5FfyjgCtB2j4PgfGTfo1AMzDr/7e60XdovFJ 9AYKj3VM/uDBGtNI+TXYLYi3M42nCaroqoGq0OSkO8PNXyo4KNkTOfvztVcOyk02 54Bvb4cswnJLIVY4BttYRZI+FHuIC/yagziLqowKDLX3N5IdLLGxU66vycEbmMhB CdZWrR2W1LuknHwDDIzoKsSQsUR33pMrtqq9XkP6nYWVNASRWX0= =L/bj -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--