From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2IbKJovw42ZMcAEAqHPOHw:P1 (envelope-from ) for ; Fri, 13 Sep 2024 07:58:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2IbKJovw42ZMcAEAqHPOHw (envelope-from ) for ; Fri, 13 Sep 2024 09:58:03 +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=hvvg39eU; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=uPzAcAAc; 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=1726214283; 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: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=ZBlT1+UgSPB9I9lv1bfkGJGtFJcu+5bjnra04MSzYRM=; b=bam+/uM0YAwFwTkXtgzvX0Eu2mdxt7Z1Z303iZZFW8+Q6YEvXO1/CStZBE12agG2KQm10y Bv9xq5nVHIu08S/yTIifpISalwUEywTDtUcztmpczfdDki+MG5XpRsIMZvpv8sNzpkZuiu HRY9XcFqz+P5LKnteFI3kKMNA0pHDGE+baTdo+am1MciagZP3bDT0Os0LKsIwneczeq4bj a05ONg1TZB//eSnCyX4W/iMGpngMrbdR7Fq803EGEslU7BNYzZUpzBsoyZSRfLW0CfL8+u a5uyxkLn7a6HM5oIzOWrB1b2DMzJzdtqho1OIs+NsjX6QJoEQk8GUrCmNGuuww== 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=hvvg39eU; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=uPzAcAAc; 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=1726214283; a=rsa-sha256; cv=none; b=DMQhpktp7Q6/TTbSqc48EpmLuvPr/NDpGhd/L6OHva9h3tt9Zjdj2FaVF1iBPwtMs9CsBG F8FB+d42d9l36f8dnCZY2g9yeX18/EJD6NphlQdcqWtCpL0Fh+xiltQaEf5Px/tAyNk7hD mSzkJMIpjJkAgRO/VrkbDSlW60nv2mJ0ueZD2XV1sTSMhOZEucaSL9wG5Hhpt1+NLd6F0Y UcUH7DaMVbpB7cAXNTVB5RCw9obPL4F8RfjxCWGn3Dol1q7xQ7ZN1DNMoe/ltz6us4LQu0 d7TbjQfQojOL1wTg8xz9FzJHipFmxg/OFyr7XEVIZM+F3lwU4V/vQssRLm/ZVQ== 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 68D257345C for ; Fri, 13 Sep 2024 09:58:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp1Bj-0002jb-5h; Fri, 13 Sep 2024 03:57: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 1sp1Bh-0002j4-Hs for guix-patches@gnu.org; Fri, 13 Sep 2024 03:57:53 -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 1sp1Bh-0003iw-8F for guix-patches@gnu.org; Fri, 13 Sep 2024 03:57:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=ZBlT1+UgSPB9I9lv1bfkGJGtFJcu+5bjnra04MSzYRM=; b=hvvg39eUy59ZfkzkvkYPlKGseH6AToKC4B+sHYjZxWJazYrA2Ih8CgzW6qglEZsN3PM0iJsjK3Gic7SWJXXGzKGFmIn0aLAtvRbRXTu3nI9/9gQ5j/QXVSEAwQqXOffdmtcHATPWHJQ3VHT6Y0IQcdRKZ544aYhDq12fzWpuuLUHBEMR2DJH4TpYBixyB4eTKqdwMkyVSwQFueMRYEbG7VbABaCWxw6Hm5uJyPAP/CwW73VXm6GT/2gSpoy5ygXi9/bLa5t/dPEvkWgaPc/nSb3QwzobrzlDKjO0mcZF7SiOwzwbANGWrRzsnFSYGLNl3e73v4XBkrkcEjuy4pthFQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sp1Bq-0004DK-1I for guix-patches@gnu.org; Fri, 13 Sep 2024 03:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72457] [PATCH v5 01/15] guix: scripts: Rewrite reinstall-bootloader to use provenance data. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Sep 2024 07:58: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 , Marek =?UTF-8?Q?Pa=C5=9Bnikowski?= , Sergey Trofimov Received: via spool by 72457-submit@debbugs.gnu.org id=B72457.172621423116103 (code B ref 72457); Fri, 13 Sep 2024 07:58:01 +0000 Received: (at 72457) by debbugs.gnu.org; 13 Sep 2024 07:57:11 +0000 Received: from localhost ([127.0.0.1]:42463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp1B1-0004Bf-JX for submit@debbugs.gnu.org; Fri, 13 Sep 2024 03:57:11 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:50907 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp1Ay-0004BD-Qs for 72457@debbugs.gnu.org; Fri, 13 Sep 2024 03:57:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1726214211; 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: in-reply-to:in-reply-to:references:references; bh=ZBlT1+UgSPB9I9lv1bfkGJGtFJcu+5bjnra04MSzYRM=; b=uPzAcAAcDaZMtnWOIVwpop/PwP1ED/YKl1M050zvAnE2Af+MRN6IFfLTIJCxmJkt/y5tnY 1oEIkcIuyDFpYICK3tRymK//qjKbGp6dL66VpGnFRt5z7FLZd0cji4UnsULi1OykzuPAwI 1/hpunRSDKWohgEJ9NCndmjWIIhlF4QHZCWgBfZwl06uKqzrBan+OlZtXDhMuY582ZVVRZ +QVo2t6/txtPJVVQ7alK/4oFKQ+iWLsLxuOaMgn4JkselotES4YbcbRpx0Q9HF/U5PPJd8 lAERZ2C1WqbxpOXBSMknMSJAUW5ufSSU9dx7xucOznyiEzX0sZqG7CFgWc3ydQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 9c2a2544 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 13 Sep 2024 07:56:51 +0000 (UTC) Date: Fri, 13 Sep 2024 09:56:14 +0200 Message-ID: <5iillqqk7m4tkfhli2gap3wtbs6m4foamv265yalaocac5scl4@5mktitcd36kd> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 68D257345C X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.49 X-Migadu-Spam-Score: -6.49 X-TUID: /XP1Px5eSSCT Hello, On Thu, Sep 12, 2024 at 08:08:50PM +0200, Herman Rimm wrote: > Also, a compatibility macro would be worth looking into, see for example > origin-compatibility-helper in (guix packages). A macro for the targets > field of bootloader-configuration could use each string as a path for > bootloader-target and make an educated guess for the type field based on > that path, or the bootloader itself. So it would make more sense to use a field sanitizer to do that, and looking at warn-update-targets in (gnu bootloader), it already does that. Sorry for the noise. Cheers, Herman