From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4LhUA/5Q7Wb9JgEAe85BDQ:P1 (envelope-from ) for ; Fri, 20 Sep 2024 10:39:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4LhUA/5Q7Wb9JgEAe85BDQ (envelope-from ) for ; Fri, 20 Sep 2024 12:39:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Ej7onGDR; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=A+NjgmsT; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726828798; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YMSbwwWrjCJ9mBYubz8lsMmTqveIFD+ld2bfATbEa74=; b=gUdYHHvTSkIKSPdABHWaUer6DN1Qlw4bBd/z6Q8jSKZweaYjhf+w3Hm7FxoivTVehSMoel jr9TvlAXXbZ58oNE3xyT97s3ndOYqAE2B6X5Oj+KmwKhxBOxZvSPIBHDQsQoZS9GJASJL7 1rTodYpIUSXsgykwYhutdvEOHhbiAsgrW/A0hiQGCKZFfo8qwRxg2Px4FAr7SdH7YzYuml ON7jbm5PvC8DNK272P/fu8XFrFL/XUjpZcZ+wAkY5EYPtoRjNYiwRX6Reh/ITUneRn+9+n sx7fVH8b+YvfW0XsT7DTdDc8Tj/Bfmq1Ng4fDJG5s0X5DuObej4JpyxVc1OYKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726828798; a=rsa-sha256; cv=none; b=YQhynFKuTTQdF+tkUHmXoKwlTCrocnMyZUpoiVWv69+0jAh8zYJhjGHjg0eJuxrjjtotZo 6L0t8GgAywThyUhLY038MzYUHLZBb/U5sCe1r0EabFTFfPzznwvEBzzff0PxTI25NUjikc vZFoNMd3MajJ+tMfndA3dTySQ/74ZxTjHik5f4MyynacYMo5dA75v2adoPfeKP4+XsNuxq bEG3Cf0QRsTT7740s8tUrxP/p4qPV3z5S9ummyD1Mk+dOYRgZYSmjnhoHnFD3pLOcRXd7W OGwt58TNSGUGh1nNQc583REx4lbLnQPGky7Fk96SnVsXMoRpP3AYlM247pnROQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Ej7onGDR; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=A+NjgmsT; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 C5B8DE3AE for ; Fri, 20 Sep 2024 12:39:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srb3C-0004xd-RV; Fri, 20 Sep 2024 06:39:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srb39-0004x9-Vn for guix-patches@gnu.org; Fri, 20 Sep 2024 06:39:44 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srb39-0006TP-MH for guix-patches@gnu.org; Fri, 20 Sep 2024 06:39:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=YMSbwwWrjCJ9mBYubz8lsMmTqveIFD+ld2bfATbEa74=; b=Ej7onGDRS5HwwEKaq2jTf49oPS/cqOBxK6UUG7I+NXE1lebo4TdZ9Krv4ml9gD+dZZrrsrRLrzCDKchRFKfCY9GPpdsKU74tHCsKeA7bc1eIaIef0gmFKGntBeIaQPyEAezyWAVMIqFj7jXmU14shZv8ry8nnRY5moIVmDoLfhWJhhjiifXkdzWlZ6pLqmbDIMa7z38kYYs+5KcUwhN1HarTPXoxDoZ3Akcl5RWhhMwdShfO9t7emz8/AEdCME8m6YjiNVwk9EAc/u1pwJoyuvlaHF194JyxaK8Vt3tYcxAhmKxMamEl8HP7Bus4I9oHMu5fLNFlOpS9DYYkp4pTFQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srb3S-0001Ok-9V for guix-patches@gnu.org; Fri, 20 Sep 2024 06:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73202] [PATCH v2 00/15] Preparation for bootloader rewrite. References: <20240912165818.21580-1-herman@rimm.ee> In-Reply-To: <20240912165818.21580-1-herman@rimm.ee> Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Sep 2024 10:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73202@debbugs.gnu.org Received: via spool by 73202-submit@debbugs.gnu.org id=B73202.17268287625138 (code B ref 73202); Fri, 20 Sep 2024 10:40:02 +0000 Received: (at 73202) by debbugs.gnu.org; 20 Sep 2024 10:39:22 +0000 Received: from localhost ([127.0.0.1]:34136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srb2n-0001Ko-G2 for submit@debbugs.gnu.org; Fri, 20 Sep 2024 06:39:21 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:54361 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srb2l-0001KU-Ak for 73202@debbugs.gnu.org; Fri, 20 Sep 2024 06:39:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1726828730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YMSbwwWrjCJ9mBYubz8lsMmTqveIFD+ld2bfATbEa74=; b=A+NjgmsTrTNDZaqM/D24nVYjiQq2EWruTy5zSznAzmQis3DMu/it26WeKz4KtPLNw0Up1k jbenUHTuA9gNWWWPgB0KroLg74T9zoiY7HdGkbOEmRVC3f56NR2AAbDUiT3KIettc70B8D fKHk8jvCHuKeSHkofOQmAnpCT5FN2wvA+Z8Iy36TXv2Fjb9ODCUbdELmPiZZSTkzv/LeP+ 3oAnH3vpFrb6de9t7x5yn8F74dI05sVFmW3PhJ1L4+fbEVEKtOcNaXYZ42FKHWQjx0DsT7 vVly8UM7l/byfzKMkudHuHEx8BuiwVeDsUTTy7X9pZyDTFIlRxHVvuHBiAaZcg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 356cdb9d (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <73202@debbugs.gnu.org>; Fri, 20 Sep 2024 10:38:50 +0000 (UTC) Date: Fri, 20 Sep 2024 12:37:45 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: C5B8DE3AE X-TUID: /MXaQqAI0zdr Hello, Patch #1 is now patch #5. This patches series adds the procedures, macros and record used in #72457. I am not sure how to test these on their own. Feel free to write some small tests, if you think of any. If I failed to described a change or did it poorly, please let me know. Patch #11 and patches with fewer changes can be merged out of order. Yesterday I had trouble using control@debbugs.gnu.org to block one issue on another. So if you could make this issue block on #69343, and #72457 block on this, I would appreciate that. Cheers, Herman Herman Rimm (3): guix: utils: Add flatten and flat-map from haunt. guix: records: Add wrap-element procedure. gnu: bootloader: Match records outside the module. Lilah Tascheter (12): gnu: bootloader: Remove deprecated bootloader-configuration field. gnu: system: Remove useless boot parameters. gnu: tests: reconfigure: Remove bootloader install test. guix: scripts: Remove unused code. guix: scripts: Rewrite reinstall-bootloader to use provenance data. gnu: bootloader: Add bootloader-target record and infastructure. gnu: bootloader: Add bootloader-configurations->gexp. gnu: bootloader: Add device-subvol field to menu-entry record. gnu: build: bootloader: Add efi-bootnums procedure. gnu: bootloader: Install any bootloader to ESP. gnu: system: boot: Add procedure. teams: Add bootloading team. doc/guix.texi | 34 +-- etc/teams.scm | 10 + gnu/bootloader.scm | 504 +++++++++++++++++++++++++++++++++----- gnu/build/bootloader.scm | 161 +++++++----- gnu/build/image.scm | 23 +- gnu/image.scm | 4 + gnu/system.scm | 7 - gnu/system/boot.scm | 14 +- gnu/system/image.scm | 22 +- gnu/tests/reconfigure.scm | 86 +------ guix/records.scm | 7 + guix/scripts/system.scm | 96 +++----- guix/ui.scm | 9 + guix/utils.scm | 26 ++ tests/boot-parameters.scm | 18 +- 15 files changed, 677 insertions(+), 344 deletions(-) base-commit: 9292d35ab63055e3752e698710a1a408cc7de7fd -- 2.45.2