From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WDBqDQJXyl5QLAAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 11:14:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IJtPCQJXyl5xfwAAB5/wlQ (envelope-from ) for ; Sun, 24 May 2020 11:14:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D249F9404CB for ; Sun, 24 May 2020 11:14:09 +0000 (UTC) Received: from localhost ([::1]:57066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcoa0-0005m9-SQ for larch@yhetil.org; Sun, 24 May 2020 07:14:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcoZu-0005lr-Ue for guix-patches@gnu.org; Sun, 24 May 2020 07:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcoZu-0001SZ-Kp for guix-patches@gnu.org; Sun, 24 May 2020 07:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcoZu-0000hC-BY for guix-patches@gnu.org; Sun, 24 May 2020 07:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41066] [PATCH] gnu: grub: Support for chain loading. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 May 2020 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Stefan Cc: 41066@debbugs.gnu.org Received: via spool by 41066-submit@debbugs.gnu.org id=B41066.15903188272645 (code B ref 41066); Sun, 24 May 2020 11:14:02 +0000 Received: (at 41066) by debbugs.gnu.org; 24 May 2020 11:13:47 +0000 Received: from localhost ([127.0.0.1]:36592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcoZf-0000ga-6P for submit@debbugs.gnu.org; Sun, 24 May 2020 07:13:47 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:44050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcoZd-0000gS-NM for 41066@debbugs.gnu.org; Sun, 24 May 2020 07:13:46 -0400 Received: from localhost (80-110-127-207.cgn.dynamic.surfer.at [80.110.127.207]) by dd26836.kasserver.com (Postfix) with ESMTPSA id E78283362B62; Sun, 24 May 2020 13:13:43 +0200 (CEST) Date: Sun, 24 May 2020 13:13:16 +0200 From: Danny Milosavljevic Message-ID: <20200524131316.4c6e8a50@scratchpost.org> In-Reply-To: <7A4ABEA8-4500-4D55-BCCE-BFB37FB06B2C@vodafonemail.de> References: <7A4ABEA8-4500-4D55-BCCE-BFB37FB06B2C@vodafonemail.de> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3+8=9qVuO8MXPXAZeH7x05Y"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.39 X-TUID: In1zde4L6+zN --Sig_/3+8=9qVuO8MXPXAZeH7x05Y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I guess it is possible to do it like that--and maybe we even should. But a collection of packages and accompanying setup is called a profile. Maybe you'd rather want a bootloader profile instead of a bootloader package-of-packages. We do the same for kernel modules--it just creates a profile of all the kernel module packages using the procedure "profile-derivation" and then uses a profile hook to configure the whole thing. See also operating-system-directory-base-entries in gnu/system.scm for how this is done with kernel modules (the profile-derivation call). You could do something similar with multiple bootloaders that are chained together that make some kind of useful whole. A profile hook could then make sure that this collection of bootloaders actually makes sense and then chain them together in the right order, if any. What do you think? --Sig_/3+8=9qVuO8MXPXAZeH7x05Y Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl7KVswACgkQ5xo1VCww uqVIKQf/ak3Gv1Vl0ec9I2JEJ3XAD4mtcXxjZAq04qqVYr++FGffrRQhMah2OoF/ ByO1H3pNXl0XWBemGqVId419ihDpN1whzNw+Q4AmsN28t6QY82xkKcY04FT7yTBH v0hL2veG0FNbZISo6AB1WOfo7MkC9YupuH9tdn2sKZrmD5o3ANlwO78GMiK2/B/D KGS5G+ihIvwqHta9mA9JnKeqByNWo4SLaDNaFbJtDm3XRG9kAGjS8Wx1UfG7Ypzt mppAYguq5NV1m7ksedc37iF5svDvfj2jeIN6xzK5xBBc7Ar7nThIpVhe6oFkuNUb yBqfBU6VvDKH0+rjwvqPRF99vYl7bw== =kYA+ -----END PGP SIGNATURE----- --Sig_/3+8=9qVuO8MXPXAZeH7x05Y--