From patchwork Sun Aug 4 18:05:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lilah Tascheter X-Patchwork-Id: 2741 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 87D7427BBEA; Sun, 4 Aug 2024 19:16:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2BCB027BBE2 for ; Sun, 4 Aug 2024 19:16:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1safme-0001yG-8S; Sun, 04 Aug 2024 14:16:44 -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 1safmb-0001xi-Oi for guix-patches@gnu.org; Sun, 04 Aug 2024 14:16:41 -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 1safmb-0001kW-G5 for guix-patches@gnu.org; Sun, 04 Aug 2024 14:16:41 -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=2Lj/nCZPqc/+JwOCDJ1DQD8TNxX0HiYGR3fkRPaeb2U=; b=W6i3qRtkaXWSa912mFyVqXFbsA+LeDcvy6akiJO1vqkjpOtCAwchGAAJYzpvSfaV4WQ9/Zg2lxem+wvMAT1ltKHw8VU0V+EcbBrw7AMLr5FmJoU2yi+hUjc9lsrWhXVonYLuzdJZ1V5W2ho2YGpdo0hWUgSnoRCQRKLcAkRfpkSq8BIAFydCUXWb1uFvlGX+BiqTeBPCfYpK1yW8PqWiIHO21vqOJFPczzZHQbizB38+2TS8t4E9rCfgJqePETnxzjUp9tsjAd1uxb9jQQX4VWftg99lBJN0mxfuijZg510/YEALXOUr8AGaYCEhTc40pg719qEIv1CQxDb8EMzASg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1safmv-0005zd-Nk for guix-patches@gnu.org; Sun, 04 Aug 2024 14:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72457] [PATCH v2 00/15] Rewrite bootloader subsystem. References: In-Reply-To: Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 18:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72457 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72457@debbugs.gnu.org Cc: Lilah Tascheter , Tomas Volf <~@wolfsden.cz>, Sergey Trofimov Received: via spool by 72457-submit@debbugs.gnu.org id=B72457.172279541923018 (code B ref 72457); Sun, 04 Aug 2024 18:17:01 +0000 Received: (at 72457) by debbugs.gnu.org; 4 Aug 2024 18:16:59 +0000 Received: from localhost ([127.0.0.1]:57133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1safmt-0005z8-DF for submit@debbugs.gnu.org; Sun, 04 Aug 2024 14:16:59 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:36038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1safmr-0005yR-1Y for 72457@debbugs.gnu.org; Sun, 04 Aug 2024 14:16:58 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=JFw2jeGw5TlxqAMYBlu/+1mQLop4zvSKJwHE/uwJcJhYMZ35kUv1o56gx/6yavOaJ3awfoclcZgqY8wGuZmz6/3wa8DPWz0//NeyUAGlHVDhoOKnaLDIPidUwHvc30VFE6HpDNXTq009WUik9b2/692qUkIrAkCtRi2xryE1/ivgP7o0ZGLlYXU9PenUId2KeaNN8VICd4M1kNL7Z06mTR23mwkBxXAd6mULLrxAdGY67r5KhoAYp0qotw4RBE3qQZnJQnMeCh9sHiHaKjDS7wGnGfsRvA4/n3uZxih2Rt5fzphQRAlUh1AriANifisYyoHz3WZ7Rpa64+497lzOqw==; s=purelymail2; d=lunabee.space; v=1; bh=W0jeQW7yXcjDXgbmUZThkMaD8mL2/efNRq55BtZMz00=; h=Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=ptU7mvwv6lcn4g+YMTB49Srr/pJShkjWyAYZQuAn5Oru19XU8cM7EGCLYU6QIdhB1r0YVNmIv88edkWlQTSqWcH9MdhvpeExfMp9ejR+e5qvc8Fuux9DWa5gIh/fcr14CpFL6hU/Aw1+80GVH8Vy9jk/f+KvQiEDH/QNZtMhctaCr5MyY1uWgKcMx6IbQyUMEGFV38AG39z7H46TOOFq9o5oEOVgkrgTvNJ5j6C4EEtnaNX4o0bKeZ8/9R4SvMX9iJckn0qessYUXck8CDu3ddJHoU7UjuCsVHvYYGjomgbKJu8Ku7K8Oec4L5BrKSLh3EVoQvoQJ1lBrdByNUN3Fg==; s=purelymail2; d=purelymail.com; v=1; bh=W0jeQW7yXcjDXgbmUZThkMaD8mL2/efNRq55BtZMz00=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 72457@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1097091497; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 04 Aug 2024 18:16:26 +0000 (UTC) Date: Sun, 4 Aug 2024 13:05:59 -0500 Message-ID: MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail 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: , X-Patchwork-Original-From: Lilah Tascheter via Guix-patches From: Lilah Tascheter Reply-To: Lilah Tascheter Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Thanks you two! This patch series should fix those issues; feel free to double-check though :) Lilah Tascheter (15): guix: scripts: Rewrite reinstall-bootloader to use provenance data. gnu: Add bootloader target infastructure. guix: scripts: Remove unused code. gnu: Core bootloader changes. gnu: system: Remove useless boot parameters. gnu: bootloader: Add raspberry pi bootloader. gnu: system: Fix bootloader crypto device recognition. gnu: packages: Add pesign. gnu: packages: Add ukify. gnu: packages: Add systemd-stub. gnu: bootloaders: Add uki-efi-bootloader. gnu: system: Update examples. doc: Update bootloader documentation. gnu: tests: Update tests to new targets system. teams: Add bootloading team. doc/guix.texi | 458 +++--- etc/teams.scm | 10 + gnu/bootloader.scm | 660 ++++++--- gnu/bootloader/depthcharge.scm | 153 +- gnu/bootloader/extlinux.scm | 149 +- gnu/bootloader/grub.scm | 1279 +++++++---------- gnu/bootloader/u-boot.scm | 505 +++---- gnu/bootloader/uki.scm | 96 ++ gnu/build/bootloader.scm | 157 +- gnu/build/image.scm | 40 +- gnu/build/install.scm | 16 +- gnu/image.scm | 3 + gnu/installer/parted.scm | 12 +- gnu/local.mk | 1 + gnu/machine/ssh.scm | 71 +- gnu/packages/bootloaders.scm | 277 ++-- gnu/packages/efi.scm | 47 + gnu/packages/raspberry-pi.scm | 18 - gnu/services/virtualization.scm | 11 +- gnu/system.scm | 62 +- gnu/system/boot.scm | 16 +- gnu/system/examples/asus-c201.tmpl | 6 +- gnu/system/examples/bare-bones.tmpl | 7 +- gnu/system/examples/bare-hurd.tmpl | 4 +- gnu/system/examples/beaglebone-black.tmpl | 6 +- gnu/system/examples/desktop.tmpl | 4 +- gnu/system/examples/docker-image.tmpl | 6 +- gnu/system/examples/lightweight-desktop.tmpl | 4 +- gnu/system/examples/plasma.tmpl | 4 +- .../examples/raspberry-pi-64-nfs-root.tmpl | 23 +- gnu/system/examples/raspberry-pi-64.tmpl | 18 +- gnu/system/examples/vm-image.tmpl | 5 +- gnu/system/hurd.scm | 4 +- gnu/system/image.scm | 162 ++- gnu/system/images/hurd.scm | 4 +- gnu/system/images/novena.scm | 3 +- .../images/orangepi-r1-plus-lts-rk3328.scm | 3 +- gnu/system/images/pine64.scm | 3 +- gnu/system/images/pinebook-pro.scm | 3 +- gnu/system/images/rock64.scm | 3 +- gnu/system/images/unmatched.scm | 3 +- gnu/system/images/visionfive2.scm | 3 +- gnu/system/images/wsl2.scm | 14 +- gnu/system/install.scm | 43 +- gnu/system/vm.scm | 11 - gnu/tests.scm | 4 +- gnu/tests/ganeti.scm | 4 +- gnu/tests/image.scm | 4 +- gnu/tests/install.scm | 80 +- gnu/tests/nfs.scm | 4 +- gnu/tests/reconfigure.scm | 86 +- gnu/tests/telephony.scm | 4 +- gnu/tests/vnc.scm | 4 +- guix/scripts/system.scm | 162 +-- guix/scripts/system/reconfigure.scm | 159 +- guix/ui.scm | 8 + tests/boot-parameters.scm | 16 +- 57 files changed, 2387 insertions(+), 2535 deletions(-) create mode 100644 gnu/bootloader/uki.scm base-commit: 7d781027c78bdea5fdb3f1c9c9ec432b9606d2b5