From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mNbGLsgF6WW9XAAAe85BDQ:P1 (envelope-from ) for ; Thu, 07 Mar 2024 01:09:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mNbGLsgF6WW9XAAAe85BDQ (envelope-from ) for ; Thu, 07 Mar 2024 01:09:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="qO1/w/Pt"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=1709770184; 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-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=I2XzmjPYQx/u+1CE/6g2BSY9hqCTvfVn/suYyE7/MPU=; b=HxCjErswJaihgkBmJH27UYDoWu+K/lW8dfsv370RprivliWpp9pPYGLzO9XFVdjZKsctz9 124Gj5fwpQ0DHQ9KIWNpEwsgsK4ikQ/k3diCXiVRWAJVo/FLutLfDxENiZujQ/MV/QblZU qV9NpfaMsFz1LbHgFWiOjbX1t1cdgxGIjC+edYbE0LSZeHK2gKbMa41bPx3Ruo4kdkUKJH jqWnP36SHQMx4DXh0lQH1FVcM0S4p18gcfq19aY8HoWA7QEpGRycf5FyX633XTxUHhNo2a 4lD/KymPMcFUVgiNtUHI2ZVSEyPFhWP3XpaIXGJ9B2826WM5utpatJKPYZ9CXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="qO1/w/Pt"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709770184; a=rsa-sha256; cv=none; b=JnzxG+QL9cO1asJw3Fl9MVm6N3daT1rw0Ugvw519GAfSe79ipWlW2b+1dTGr9NKLYAhH2C WtUBs0iPyMXlkOVCHikDqm3Rrzk6wfpXueAKCp+7HGTg+bWvjAm8Hy0RH2bhSyzlAMlVrl ip9a/gMTbSS3NMgNo05vIdyDBgPsFw1esy1FphBaNGutjcc2vA9KklKrRLELKdMxZiOxlb w/sd1LxIxghxZxpeX8QfhBPCCxP5mLxCZcJXBuWgVntjdtypmBO1urH3GYjtep1d9gCcgM NpnBTxyoy/FujgWbiTBe+sV9Ec0eAiOHbQ25xugZ8qWdQ+ZXrBI6ofDpj23+9g== 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 8F0BC1D882 for ; Thu, 7 Mar 2024 01:09:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ri1KH-0002K3-T5; Wed, 06 Mar 2024 19:09:33 -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 1ri1KF-0002Js-It for bug-guix@gnu.org; Wed, 06 Mar 2024 19:09:31 -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 1ri1KF-0006rf-2C for bug-guix@gnu.org; Wed, 06 Mar 2024 19:09:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ri1Kk-0001TP-4l for bug-guix@gnu.org; Wed, 06 Mar 2024 19:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69588: [PATCH] Find GRUB root devices for chainloading entries. References: <20240306181647.7af71dc3@fedora.email> In-Reply-To: <20240306181647.7af71dc3@fedora.email> Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 Mar 2024 00:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69588 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69588@debbugs.gnu.org Cc: Carlo Zancanaro , William , Felix Lechner Received: via spool by 69588-submit@debbugs.gnu.org id=B69588.17097701995649 (code B ref 69588); Thu, 07 Mar 2024 00:10:02 +0000 Received: (at 69588) by debbugs.gnu.org; 7 Mar 2024 00:09:59 +0000 Received: from localhost ([127.0.0.1]:52115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ri1Kg-0001T3-Sb for submit@debbugs.gnu.org; Wed, 06 Mar 2024 19:09:59 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:40582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ri1Ke-0001Su-Ge for 69588@debbugs.gnu.org; Wed, 06 Mar 2024 19:09:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=ImqQSo4V/RofwVc 54+38UJrFiDegzuAnvfcUK7hHUR8=; h=date:subject:cc:to:from; d=lease-up.com; b=qO1/w/PtgG0f6091Ktef8NFyaHSMBTJVgkk40vEgKpeW06pGiCyM 9p2aJknmNKzVoeW6hd1XZStyvYUn9wOJqGvJmVxsaAe+Ed2vKhgsy5TXEsafh2wfmLbKDF 9OFuB/3nqLcsf4jURE3JAEkOpWxmNsKcoOfTl3qtZpzbw42Ek= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 3473fb13 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 7 Mar 2024 00:09:24 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9fedeb3f; Thu, 7 Mar 2024 00:09:23 +0000 (UTC) Date: Wed, 6 Mar 2024 16:09:20 -0800 Message-ID: <1123579eb1c40f3ffadadb5599215280a8f8823e.1709770160.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.28 X-Spam-Score: -6.28 X-Migadu-Queue-Id: 8F0BC1D882 X-TUID: +bdtYCnaw3+V Maybe this would work? It should help grub-root-search to return a meaningful search expression but may have unintended side effects. This patch is untested. More information may be available here: https://issues.guix.gnu.org/issue/69588 Change-Id: I7b97a141b0d0d462d8afdd8c69f0ceb9a2d2da0b --- gnu/bootloader/grub.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index 2723eda5f4..1a229675da 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -433,7 +433,7 @@ (define* (make-grub-configuration grub config entries chainloader ~a }~%" #$label - #$(grub-root-search device chain-loader) + #$(grub-root-search device #f) #$chain-loader))))) (define (crypto-devices) base-commit: b4107ca3ad8bb8a6b8e669c298be2f14ff0237da -- 2.41.0