From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aGD0FcT3s18dQAAA0tVLHw (envelope-from ) for ; Tue, 17 Nov 2020 16:18:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QKTmEcT3s19YGAAAbx9fmQ (envelope-from ) for ; Tue, 17 Nov 2020 16:18:12 +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 041789402A7 for ; Tue, 17 Nov 2020 16:18:12 +0000 (UTC) Received: from localhost ([::1]:51590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf3gI-0005L7-J1 for larch@yhetil.org; Tue, 17 Nov 2020 11:18:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf3gA-0005Hh-BT for guix-patches@gnu.org; Tue, 17 Nov 2020 11:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kf3gA-0003BQ-2W for guix-patches@gnu.org; Tue, 17 Nov 2020 11:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kf3g9-0005Xc-Ug for guix-patches@gnu.org; Tue, 17 Nov 2020 11:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#41066] [PATCH] gnu: bootloader: Support for chain loading. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Nov 2020 16:18:01 +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, Mathieu Othacehe , ludo@gnu.org, Efraim Flashner , Maxim Cournoyer Received: via spool by 41066-submit@debbugs.gnu.org id=B41066.160562985321234 (code B ref 41066); Tue, 17 Nov 2020 16:18:01 +0000 Received: (at 41066) by debbugs.gnu.org; 17 Nov 2020 16:17:33 +0000 Received: from localhost ([127.0.0.1]:60951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf3fh-0005WQ-HJ for submit@debbugs.gnu.org; Tue, 17 Nov 2020 11:17:33 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:49684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf3fe-0005W6-HY for 41066@debbugs.gnu.org; Tue, 17 Nov 2020 11:17:32 -0500 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id BBCB93362BD4; Tue, 17 Nov 2020 17:17:28 +0100 (CET) Date: Tue, 17 Nov 2020 17:17:14 +0100 From: Danny Milosavljevic Message-ID: <20201117171714.4c44d169@scratchpost.org> In-Reply-To: <20201117164755.1a27422b@scratchpost.org> References: <7A4ABEA8-4500-4D55-BCCE-BFB37FB06B2C@vodafonemail.de> <20200524131316.4c6e8a50@scratchpost.org> <3197004D-0131-4781-99FD-60EBE434E794@vodafonemail.de> <023CBBED-35CD-4AD3-97C4-0DE0B7623B9A@vodafonemail.de> <6E5ECFBA-57F4-485F-9403-1D04CF82062D@vodafonemail.de> <4D71A75A-5722-457C-A5CE-98CE51A53450@vodafonemail.de> <975EC414-6A81-444B-9BB0-AE303C6A9511@vodafonemail.de> <20201116103346.55ff8422@scratchpost.org> <20201117164755.1a27422b@scratchpost.org> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/NbWGRKJGx3YyWE49fQIEPYI"; 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: ns3122888.ip-94-23-21.eu 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: wIxDAe49aH7Q --Sig_/NbWGRKJGx3YyWE49fQIEPYI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Also, please keep in mind Ludo's suggestion of using the first class profil= es of G-Expressions. I'm not sure it's applicable in this case (!)--but still= , it would be nice, for a future version of raspberry efi netboot or of similar things, to be able to do this, right from config.scm: (operating-system (bootloader (bootloader-configuration (bootloader ; field in bootloader-configuration (bootloader ; bootloader record constructor (inherit grub-efi-netboot-bootloader) ; so we have the installer (package ; override bootloader's package (profile ; create a profile (content (list (file-append firmware "/boot/") (file-append u-boot-my-scb "/libexec/u-boot.bin") (plain-file "config.txt" "kernel=3Du-boot.bin") (bootloader-package grub-efi-netboot-bootloader))))) ;= and put the package we've overridden back into the profile (target "/boot")))) This way, maybe the procedures efi-bootloader-chain and efi-bootloader-profile would be superfluous. Note: I haven't used this myself yet.=20 --Sig_/NbWGRKJGx3YyWE49fQIEPYI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl+z94oACgkQ5xo1VCww uqVGcAf+NKG/ITUMmZF9+grqZ69EJSd6ZyYRrRrJHJRxZ0sGBiL6ALFCZ02hi9RI JoKrzomNUJSkU8Bau+lFqey7cYtzZ/hJHxbBkRCua1dMLnM7WUKvEVDbRIv1ZfDI zE5tLM2vV58m4v2efcOMbgkem/8bV3dyG2P8PGE9YPKa1ecPlzdZZqGHUFNrZ8jQ WBUqusu1r537i093ZO4PyA3R+/iCrXtnZmGQ/dBczvUCz+i1Aubf4fWInRDxCzkj LKS9yum2wUgK/c7l5b42qHefQlrZegiWqRFoHejmbcj1GQCfIcSdQ0qdIzisRZHk VLOHWq7NDcUfSzjGoqbU8kMM3Zsn1w== =LUVh -----END PGP SIGNATURE----- --Sig_/NbWGRKJGx3YyWE49fQIEPYI--