From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CGwRNKP37GaqQAAA62LTzQ:P1 (envelope-from ) for ; Fri, 20 Sep 2024 04:18:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CGwRNKP37GaqQAAA62LTzQ (envelope-from ) for ; Fri, 20 Sep 2024 06:18:43 +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="OCCKey0/"; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=Doe99bhq; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b="X/jE9aPb"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726805923; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=Twv7eTNC/d2lKsNCpRuuFM3KEl3Co5xdVgvnswhvBVc=; b=fp/uc1I5V8Ef7POKXYnd7R1NJBV0yjf6LBeT980mkv19f0GfxH6UI7ZaZLJNCUT8ZWHtRq oexrca6CKRDuTTyKybnBuwv2dyinAgh3+QukunIpAHQKFXdLmoRC1ZVhP/+InbbOHpyW9c oMmtz2OSFyR9o7yw/SNkcwD9z9PSRL+nwenOZ4cJ4eglbCsXhTnrqesNInFEEBE6ZP6f+6 bJGv2KkaWZTTEWo6ZHKz042i7fnUZcGMAju3+jHAvFc851xwTepckEP50/GHB9clIt6FS3 gtTh7EwgRgxOjxjHqPKGkZVMycYW3Nw79bZNRw9kwrgmyxGn5JJRf/ZSrIoydg== 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="OCCKey0/"; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=Doe99bhq; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b="X/jE9aPb"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726805923; a=rsa-sha256; cv=none; b=JuEBuW/oQOPjk2k6V0dsmZLzneHNo6OqMT3XirHY2oWjiVMoaGHu7vTG3FRxQeo6S9grda vtMbSHtkxkyh4f7aT/5NBj+LZfxPDpIyY0OAn95b1N7IdzVEP0M9qCNUCPKXM32CmhzuA9 cVPV4mtZNUPCkrvY2xmeMAlXgFgs/3rThsgfnRvxWfqgGC9GVi3hMRtuVOKpZvTJaGgdGL RhMV0ZeFbWB/U9cptemLUc/5RLRPaNygh6ot7A934Lq8kcU57SBtDUnyZKoxiiYR8IkvbP t1Q9klDezUpZBNHoPj2+3ZixBjQdA7K8MeZm1sUoQxkybqVMqscH8VEzXm7sTw== 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 B17AB37D1E for ; Fri, 20 Sep 2024 06:18:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srV5f-0008DT-H2; Fri, 20 Sep 2024 00:17:55 -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 1srV5Y-0008BN-Fk for guix-patches@gnu.org; Fri, 20 Sep 2024 00:17:49 -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 1srV5Y-0006Fw-4p; Fri, 20 Sep 2024 00:17:48 -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=Twv7eTNC/d2lKsNCpRuuFM3KEl3Co5xdVgvnswhvBVc=; b=OCCKey0/SIo+jGudexx4dn3uGkq9Nnzw8t8sK5ezZdPltb+iYN11xWfLdpcZbjpbeWX8clR8CoZS+qQMhzyCDtGEU4RfZrKbpa2fLx/jsJ3a3cB7F8im2BKFB87a3SEtP0AQk4VpcQ0D4GCkhsThga+310H3BWl0775hBcyTKf7yTeeV9n5JAdkrkU3rGgBJMiLhKzYGO0g2imJ01ePjQC//bVw2JgEMZDXl+INmjBtNsjYv502QPzC3BVUzNIImZbEhp9QJtptVfzU3KZcFZesxUg9P52WM0uWChNTRGcMINBIlqB5yEWAXULUcvReNHrj0kOhVWBQ9MjjJ6GRn6w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srV5l-0005Su-Vo; Fri, 20 Sep 2024 00:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69343] [PATCH v4 00/11] Simplify bootloader data structures and procedures References: In-Reply-To: Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Fri, 20 Sep 2024 04:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69343 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69343@debbugs.gnu.org Cc: Lilah Tascheter , Herman Rimm , Felix Lechner , Christopher Baines , Josselin Poiret , Ludovic Court??s , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic Court??s , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 69343-submit@debbugs.gnu.org id=B69343.172680585320845 (code B ref 69343); Fri, 20 Sep 2024 04:18:01 +0000 Received: (at 69343) by debbugs.gnu.org; 20 Sep 2024 04:17:33 +0000 Received: from localhost ([127.0.0.1]:33718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srV5I-0005Q9-Oq for submit@debbugs.gnu.org; Fri, 20 Sep 2024 00:17:33 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:49018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srV5F-0005Pr-Fg for 69343@debbugs.gnu.org; Fri, 20 Sep 2024 00:17:31 -0400 DKIM-Signature: a=rsa-sha256; b=Doe99bhqMWNX61O6+xqeBunZ1dH9s1BpEl/mgvLRZZD6Tn/EZHZ6JAAlf+fmryL2ddjNuT25vx84Zf07l2WXHqtlS3uTFpnOw7dSr2leGHKEweHYRr4R2o9iX3LwG0aWOAcQqRjbccO80oCkPBNGi0MW0bUSE+/wA5rjQcVRzGjz+d8Wt8F6kBrPTQka8mhG4G/ZnHhrT79+DSxy+JWZef7Emg1ERWdDrra5exRjzXE5Z1yrX1o5XgnnQDLrHtKb/4SlY3d401x8LtYexxUy6IPkkmTXGBHpDGYevmQrk4LZnBKDJDH8caDgfQj3a38wOKJi/PUKz98wEMiYH/XgOw==; s=purelymail3; d=lunabee.space; v=1; bh=zsiQXjZQZt7L7hHCItmEZj/VYc5KzbMSoAA38J4AT6Q=; h=Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=X/jE9aPbwWfwUjQgJcjGYmvRdzk+RDgWY2g09TybwcsRvBZ6qT2XIutMsCwxyuKMLD6KL+b7EgGcZkUfn4oXbkNdpfLwFQT6nIaC0ushgIFgH5IFMArIIFxS3daT6pSoiFisSSP3hM8osPxaA4qgkvij/prM23xw10LWMZolFbcdFHDWDoLWUTGxFWutZt6yGreohLeyYts1Z9VbCpzdDIn8zTbVFGBV/m8KYuGLAk6LSOZ9ioIT40gsTg38m1W5h/XGWOl9AljxWqfZOicZxrR4kYevR0r7CjGircfzrp0RsQ0J9zmB2AdfSkA0jCu4LyXGheO4kEuTVcIrTrnWRg==; s=purelymail3; d=purelymail.com; v=1; bh=zsiQXjZQZt7L7hHCItmEZj/VYc5KzbMSoAA38J4AT6Q=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 69343@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -100958845; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 20 Sep 2024 04:17:02 +0000 (UTC) Date: Thu, 19 Sep 2024 23:15:54 -0500 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Content-Type: text/plain; charset=UTF-8 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: , From: Lilah Tascheter via Guix-patches Reply-To: Lilah Tascheter Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.41 X-Spam-Score: -3.41 X-Migadu-Queue-Id: B17AB37D1E X-Migadu-Scanner: mx10.migadu.com X-TUID: dCn3+thU3LSh Modified per Herman's review. Felix Lechner (11): Fix bug where the extra menu entries for a bootloader were shown twice. Move record to a separate file. Rename seconds->string procedure to epoch->date-string. Move epoch->date-string to gnu/system/boot.scm and use it elsewhere. Offer a uniform decorated-boot-label and use it. Rename boot-parameters to boot-alternatives when appropriate. Rename two remote variables confusingly named 'generations'. Give a separate name to a commonly used expression. Simplify profile->boot-alternatives. Split generation->boot-parameters out of profile->boot-alternatives. Encapsulate to retain generation, system-path and epoch. gnu/local.mk | 1 + gnu/machine/ssh.scm | 105 ++++++----- gnu/system.scm | 287 +---------------------------- gnu/system/boot.scm | 376 ++++++++++++++++++++++++++++++++++++++ guix/scripts/system.scm | 71 +++---- tests/boot-parameters.scm | 1 + 6 files changed, 467 insertions(+), 374 deletions(-) create mode 100644 gnu/system/boot.scm base-commit: f59c4126827af3d2041d49f1d0a8ce12b41470cf --=20 2.45.2