From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yOlVDCkWyWXtGwAAqHPOHw:P1 (envelope-from ) for ; Sun, 11 Feb 2024 19:47:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yOlVDCkWyWXtGwAAqHPOHw (envelope-from ) for ; Sun, 11 Feb 2024 19:47:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=jtJWHTIi; 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=1707677225; 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=zqMduDsQhzhfC3N2o1LMNYbPb/gYrc/erd84aZ5eunQ=; b=ujY0FT77dDca6TiUNg1UowPS1OHuGU76LJ15LN1n3Xrmu82VwLCpWvRXefA6/IklfGM19W cXSuE4Q7s/YTDVbKG90Ajz+fLHaJuv7qEAkCDJMQ06kC9fTLNYX8PuJWfgjRFwVyuVIz08 +gmmGHskItqYlAi1Gvw+lyzhVtqxJ/dOte895auO2sx6V8XYRVWk7tqpHI1W98KTVlONFG nFUw/W1n+q4HZ5Okh9nUExjlq1Yj3aUsowI0Zop5MEIcijlZHPA/M2W6ZtM24VhZloWcYS iKuAMTkkCi3VpZk4631BRM32LtAYY/hGH9UFcvd+CH6bdMeEKReTv9R/Q+Pm/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=jtJWHTIi; 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=1707677225; a=rsa-sha256; cv=none; b=UhIZWukeeQ8L0e/mfnTSI9Wq3xxs54EcAY/2c1iFj01rDubx2QHDBZtQDvtAOX+05+4Jna btASdOW4/ShCWFwjQtnbuuuuJaTQe2kK5XBVLBlpl5Dvp4USKqVgVrwWov7cLJJg1jlNnp kAwzMyV817476rsS3fJ0sADNAdeeiMepMPMuPOU4SueyWc111Zc1I7lX1iZvgfPW1HbgRP V62UMpvwaRR1KjxuOBsnrk9yPFE+cO+q9sf4WjExghK4QbBgPRRDDNEdTpinu5MuFW6kDO XLMCAwcdeNjfODwT+iSpoh9eV/qzCt4wmVt0bIHE65fg04nAaJVIkFWJPzQ0Gg== 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 048DE57A24 for ; Sun, 11 Feb 2024 19:47:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZEql-0000H6-I5; Sun, 11 Feb 2024 13:46:47 -0500 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 1rZEqk-0000Gt-8C for guix-patches@gnu.org; Sun, 11 Feb 2024 13:46:46 -0500 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 1rZEqj-0003YP-W0 for guix-patches@gnu.org; Sun, 11 Feb 2024 13:46:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZEr0-0004J2-AQ for guix-patches@gnu.org; Sun, 11 Feb 2024 13:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68524] [PATCH v2 0/2] Support root encryption and secure boot. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68524 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Lilah Tascheter Cc: Vagrant Cascadian , 68524@debbugs.gnu.org, Herman Rimm , Efraim Flashner Received: via spool by 68524-submit@debbugs.gnu.org id=B68524.170767716516388 (code B ref 68524); Sun, 11 Feb 2024 18:47:02 +0000 Received: (at 68524) by debbugs.gnu.org; 11 Feb 2024 18:46:05 +0000 Received: from localhost ([127.0.0.1]:39153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZEq4-0004GB-58 for submit@debbugs.gnu.org; Sun, 11 Feb 2024 13:46:05 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:34494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZEq2-0004Fk-1w for 68524@debbugs.gnu.org; Sun, 11 Feb 2024 13:46:02 -0500 Date: Mon, 12 Feb 2024 02:37:21 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1707677046; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=zqMduDsQhzhfC3N2o1LMNYbPb/gYrc/erd84aZ5eunQ=; b=jtJWHTIiETgy1CH3wnAbIQ4A27Q2pJ4DvPrbKHmHx5hbT4lispkNZBQKJ4IdoK71zGRdNm 64/5DPpsOC1LwzqYdDY/tVdvyA0k7/Vg82RntG0AEQ0aUkZQ5x991NeaBJ72Kq3C5QKr0+ MiokROnpqKsJyMFXvq+HGhFhYWgYobmN6soBwCY9LLiGlV9wCFPHqgevsiy6EmFqt1cE/I qyunVukE7bnuu+g5orzRNuf8hJSsxyKt4I1f/lX1E+qsiGgNBN4mUmthtRz+ffhGBOjF/w UMpLNQistVrsJcGAvKbW2o6T9rhRlAHQFQ2FWa3Yc7k2N2acRc3R4s3S5w8QMw== Message-ID: <87cyt2n8ym.wl-hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.17 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.17 X-Migadu-Queue-Id: 048DE57A24 X-TUID: DE3OQAl/Fuyv Hi Lilah, On Sun, 28 Jan 2024 17:51:38 +0800, Lilah Tascheter via Guix-patches wrote: > > Thank you so much Herman, that motherfucking typo was what made my old-en= tries > testing not work. I reworked the majority of the install-uki.scm code, an= d now > uefi-uki-bootloader and uefi-uki-signed-bootloader support generation rol= lback! > Slightly jank, but it works. On install, we pretty much just cram as many > generations into the ESP as possible. ESPs are typically small, so we can= 't > assume that we can fit more than one UKI, so if we can't fit every extent > generation we just exit early. > > We also don't waste space on root by adding each UKI to the store anymore. > They're all generated at install time. Added slightly more documentation = too. > > Otherwise, fixed everything Herman pointed out! > > Decided not to add a manual section on manually running /boot/install-uki= .scm > though. It's more of a quirk of getting around guix's bootloader assumpti= ons > than meant to be run that way; I don't know if it's a good idea to direct > attention to it. I mean it Works, but it's more of a quick hack. > > Lilah Tascheter (2): > gnu: bootloaders: Add uki packages. > gnu: bootloaders: Add uefi-uki-bootloader. > > doc/guix.texi | 45 ++++++++---- > gnu/bootloader/uki.scm | 129 +++++++++++++++++++++++++++++++++++ > gnu/local.mk | 1 + > gnu/packages/bootloaders.scm | 95 ++++++++++++++++++++++++++ > 4 files changed, 258 insertions(+), 12 deletions(-) > create mode 100644 gnu/bootloader/uki.scm > > > base-commit: 2823253484e49391c6ba3c653a2f9e9f5e5f38ae > -- > 2.41.0 Nicely done! I have tested =A1uefi-uki-bootloader=A2, and it works! But currently =A1uefi-uki-bootloader=A2 doesn't match generation switching = well, and =A1uefi-uki-signed-bootloader=A2 as a procedure further breaks that, right? I think these issues have to be addressed to get the series merged. Reviews are coming later. Thanks