From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SMM+JP90yl6jFAAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 13:22:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8PgKIP90yl5obgAA1q6Kng (envelope-from ) for ; Sun, 24 May 2020 13:22:07 +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 052C19403EC for ; Sun, 24 May 2020 13:22:07 +0000 (UTC) Received: from localhost ([::1]:32984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcqZq-00053P-0z for larch@yhetil.org; Sun, 24 May 2020 09:22:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcqZm-00053J-M8 for guix-patches@gnu.org; Sun, 24 May 2020 09:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcqZm-0004ul-Co for guix-patches@gnu.org; Sun, 24 May 2020 09:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcqZm-0005rx-95 for guix-patches@gnu.org; Sun, 24 May 2020 09:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41066] [PATCH] gnu: grub: Support for chain loading. Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 May 2020 13:22: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: Danny Milosavljevic Cc: 41066@debbugs.gnu.org Received: via spool by 41066-submit@debbugs.gnu.org id=B41066.159032647822510 (code B ref 41066); Sun, 24 May 2020 13:22:02 +0000 Received: (at 41066) by debbugs.gnu.org; 24 May 2020 13:21:18 +0000 Received: from localhost ([127.0.0.1]:36680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcqZ4-0005r0-CH for submit@debbugs.gnu.org; Sun, 24 May 2020 09:21:18 -0400 Received: from vsmx009.vodafonemail.xion.oxcs.net ([153.92.174.87]:8763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcqZ1-0005qm-1r for 41066@debbugs.gnu.org; Sun, 24 May 2020 09:21:16 -0400 Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id DEFCA159D379; Sun, 24 May 2020 13:21:08 +0000 (UTC) Received: from macbook-pro.kuh-wiese.my-router.de (unknown [2.206.141.243]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 7B770159CA78; Sun, 24 May 2020 13:21:04 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Stefan In-Reply-To: <20200524131316.4c6e8a50@scratchpost.org> Date: Sun, 24 May 2020 15:21:03 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <3197004D-0131-4781-99FD-60EBE434E794@vodafonemail.de> References: <7A4ABEA8-4500-4D55-BCCE-BFB37FB06B2C@vodafonemail.de> <20200524131316.4c6e8a50@scratchpost.org> X-Mailer: Apple Mail (2.3124) X-VADE-STATUS: LEGIT 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.99 X-TUID: uwsjcBaPhrFy Hi Danny! > Am 24.05.2020 um 13:13 schrieb Danny Milosavljevic = : >=20 > I guess it is possible to do it like that--and maybe we even should. >=20 > But a collection of packages and accompanying setup is called a = profile. Good point. > Maybe you'd rather want a bootloader profile instead of a bootloader > package-of-packages. >=20 > 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. >=20 > See also operating-system-directory-base-entries in gnu/system.scm for > how this is done with kernel modules (the profile-derivation call). >=20 > You could do something similar with multiple bootloaders that are = chained > together that make some kind of useful whole. >=20 > 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. >=20 > What do you think? I=E2=80=99m still a bloody newbie. This sounds like a huge rework, = probably too huge for me. The biggest trouble from my point of view is that the bootloader = installer functions only get a argument, which internally = only has a field. Then this would need to be = replaced by some kind of . My current solution provides a different package with the proper = collection of files to copy for the installer. That was quite easy =E2=80=93= well, beside the problem to tear in a plain-file, for which I needed = the trick with the source field. Bye Stefan