From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OO1NAIb37GYyzQAAqHPOHw:P1 (envelope-from ) for ; Fri, 20 Sep 2024 04:18:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OO1NAIb37GYyzQAAqHPOHw (envelope-from ) for ; Fri, 20 Sep 2024 06:18:14 +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=twBSxO8O; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=awliK9Fz; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b=iljA4SzU; 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=1726805893; 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=2ZG/xzlaJZwVvFpWrIC7p3e3sUtcoH68qb3lRbMLAhU=; b=l1rRelzn76l+ojSGXiwuvlwZzJnW7ftT1t1NBvhjNVpwxg8cmYytA/s/+iCm7I5FWWRQxM 2rUqn50Kv9qhvGgNcD6UBdq6cHuZhnF8R5nl2I+ruJuo4hRp4xZ6D+UzSkzqxDR+Hk5wl5 REG5LhMywouRySb/JVGQZOzHS+Yfo2OsUmilk9TcH4DEFWDshKapG0AEu8H5UjOeMBIMAK zxVPNu5X12Mm0/mqU+AjQEcJccHhybIWJqTb8IHBdhNjqRI3KIxKYr6XplLuOmZoavvfRj TZkO3oG60cau1q7o7IBi+7nELlFl/5i9NmcsU6E+8spE41no55USv3oX/mpSDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726805893; a=rsa-sha256; cv=none; b=egafBqKQVzum1BMtxTJc9XYz49LmvB3/zk+xZkiGUA+6mtLIKZ7czUednKrdRvAgCBDLL8 zEDVXtYDOGN7FOO74HnDyXCNV4R76FMh6kvA4g6hGMfPcwD7OZN+x1FyfUYXkJgtGI3pZ7 zbJfThkJKAq3c8AaCY5gb+PUnDLgAQOwYMfs8PdlxdRJa9tbvc5rbGH5CLvL7KVDokrL/P 8ZKcUNdryGCQm0JrOYuSkSPufhYAslYdnbFC4GBK0mVccMzNcroj0EyaMW4ElpdYYepwhp np9tKTrw0LFREW5Ncpa242bGqho7Fmyx52/w5Afc+rip3MknEBztnSrwi4SOeQ== 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=twBSxO8O; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=awliK9Fz; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b=iljA4SzU; 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 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 8FF1560235 for ; Fri, 20 Sep 2024 06:18:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srV5a-0008CK-E3; Fri, 20 Sep 2024 00:17:50 -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 1srV5W-0008B9-6R for guix-patches@gnu.org; Fri, 20 Sep 2024 00:17:46 -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 1srV5V-0006FT-7h; Fri, 20 Sep 2024 00:17:45 -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:References:In-Reply-To:Date:From:To:Subject; bh=2ZG/xzlaJZwVvFpWrIC7p3e3sUtcoH68qb3lRbMLAhU=; b=twBSxO8OYtv7Y0YpuY4Yq5bn1AJZ/T1jWxLM2EXy96q9BDSDLgo1flD9/G5IsTiHoF7QksRsxlx0I8jDkTIbC9p9gP0s8SKDa123Wr/4HDvE2rY44g9TNVFmGYYTfI4V4IZDWt3x7+yVlTyM0KQTP+juSTi9HS0xPntBbrpohb76vYZzer/Ja60BtdlPuraCOqxs0cxtAD9zxuOEcigJfe+8c7kawzVMR3VXx5vaXQS7Or34EyCZr6EJINhl6kYGfyNwic3li4pIph9eWVU6XTh3OXPgcJuHXh6Sd6Kkez+md/256vbK8dwN3JY8T1pLJntTGp8paxXpIyds/2NeRA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srV5m-0005T1-FA; Fri, 20 Sep 2024 00:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69343] [PATCH v4 01/11] Fix bug where the extra menu entries for a bootloader were shown twice. 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:02 +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: 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.172680585620863 (code B ref 69343); Fri, 20 Sep 2024 04:18:02 +0000 Received: (at 69343) by debbugs.gnu.org; 20 Sep 2024 04:17:36 +0000 Received: from localhost ([127.0.0.1]:33723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srV5M-0005QQ-3H for submit@debbugs.gnu.org; Fri, 20 Sep 2024 00:17:36 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:49144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srV5K-0005Q0-4I for 69343@debbugs.gnu.org; Fri, 20 Sep 2024 00:17:34 -0400 DKIM-Signature: a=rsa-sha256; b=awliK9Fzrvgq3UnS44kefL4JfzLACfXV9qlNY5gK0awpFnZTZz3fBswkKmMkFkH20gGvTGe6dET2kFnGBfbRm+GlJgkcPexggUbfIL+NnQ0x0m0Jgnc3dz321OnuCWpegb1V6iXtMOQ6CTdsN+y5mspDw6rTxzccmYiwYBMrCjK0D0RwyXYsbEpFz7HSGrmWixSurpjCTYLL9Pzyi7+jkQxqa5vuIwJxR8gDvRYsnlBXh9avYDKhGMZYt0sjWnSLS0hPVVTSCECMYpRojmz2HyI1Oj3rf3jlyH1cw54xSLZ7KPIlYFmbPEtXFMA75cFit02LCUFCzAyYYz1PRgcmLA==; s=purelymail3; d=lunabee.space; v=1; bh=qXWn1cz6zN65+Q68ygAxFMhzoQIb60JNk1LL8A3ilhs=; h=Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=iljA4SzUGUnnbXQoVY9hu2NfHeR3nCeMMgDNdoNP+kQBn0WLF0Px5lhUcX58+97zy92kiBq1k08V/49Tjec15bJrcVU4hbTQN/2WJPc/EEDrD5wZb5UPiFf5CTwIiB7qmymUpEUUmsVM9Aj22i80HbCbYCBhfLkbLEXB6+DO6qwrY5opzCbOihykzfvzDasesVh67GXHV6/lCxb4zq5FndWqmmwCf0aX6lcNVYcCuRCbej3nmmLIVH6J/ak83864Dxu6KkChJ27tjGwEKHB8N1w1CUP6h0cF+gWcKGT1LKE0AAr/4jiJUXfiCZBDv7ElpGWxsH0R+Tss80Ecd4kdHA==; s=purelymail3; d=purelymail.com; v=1; bh=qXWn1cz6zN65+Q68ygAxFMhzoQIb60JNk1LL8A3ilhs=; 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:09 +0000 (UTC) Date: Thu, 19 Sep 2024 23:15:55 -0500 Message-ID: <048a294013321d432030a71007d7386d2f1308d7.1726805765.git.lilah@lunabee.space> In-Reply-To: References: 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.51 X-Migadu-Queue-Id: 8FF1560235 X-Spam-Score: -5.51 X-TUID: zUhWEFleunvB From: Felix Lechner The extra menu entries are already being added in each bootloaders, as applicable. * guix/scripts/system.scm (reinstall-bootloader)[entries]: Don't extraneously include bootloader-configuration-menu-entries here. Change-Id: I8a600f2a5836ab4f7db5e27e25b0b8f432c3e1e0 --- guix/scripts/system.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 99c58f3812..0305128763 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -412,8 +412,7 @@ (define (reinstall-bootloader store number) (delv number (reverse (generation-numbers %system-profile)))) (old-params (profile-boot-parameters %system-profile old-generations)) - (entries (cons (boot-parameters->menu-entry params) - (boot-parameters-bootloader-menu-entries params))) + (entries (list (boot-parameters->menu-entry params))) (old-entries (map boot-parameters->menu-entry old-params))) (run-with-store store (mlet* %store-monad --=20 2.45.2