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 eJQMIz3vdmdCVQAAqHPOHw:P1 (envelope-from ) for ; Thu, 02 Jan 2025 19:55:41 +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 eJQMIz3vdmdCVQAAqHPOHw (envelope-from ) for ; Thu, 02 Jan 2025 20:55:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Z9dUP5MY; dkim=fail ("headers rsa verify failed") header.d=cyberdimension.org header.s=dkim header.b=e4p2aCBj; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735847741; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Bm0xZqKrIHvtwd2EkW9Tb3fA1T4ttOzCgym2YtAcrjg=; b=meIRIVp/gJRkhwYetUFXlJalUYl+vZhdAbmDdbx0sEywqeCIFBH73ATaPLFRXbBL31YXue Mcne12JvvFaVR7dH6HwZ9GdhnD5K7z8BlCv0MzqkVoKzu8+ziPnjX7ODcT5WE6xdihArT8 DvyXmZOUjhtBdJ1tJ6RHopUedQYaReIbi2zOAjzCgo3QRMv+9DvBLcmgmdZi9YkKYbd5Xz 0vhbfCffe5W6KKL2OENotgz6ABACXxz+DxdQzx3JdW7o2dCf/dXCilzJS5gc73XcK/BB// 9lB1wKHatfhEfqmyX3nawWqtYuQ9ZnlUrRYr+zz5/NFKbyn6iFZaPlHZZK5YhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Z9dUP5MY; dkim=fail ("headers rsa verify failed") header.d=cyberdimension.org header.s=dkim header.b=e4p2aCBj; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735847741; a=rsa-sha256; cv=none; b=b8U2NsPErbA/cYYxyeSCmItgi15+MqgPQaA0pDtu43nvMJnPd48MsFIpQJeV3dRbwsF/uG ZcuSwGH/GM2lgFgNEfEbQHWxQUDe4zSX5qyVBSF8SzoC03l/OL5i1wlSKpFJFGuOoOSq1D Jr6F2flWW1nEGJrfTiunPjAfovHgjyUXWqT3SQiut1spgl3vf+DnE/JOY0Dglby3+TxI2k m/VGD3IE9jO77znpHiU1BIoADVkCQg9jxoGlvYLahp3xGPEMzvGwjKs7iGrfFilMZjNrh8 jzrEJgyqwOqeVabxCLoQbZF+eC2rl+89hdfSqlm5Lbq/bDkDQl+NurpvAlYIiQ== 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 6BA9C39E5 for ; Thu, 02 Jan 2025 20:55:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTRHr-0006Rc-1L; Thu, 02 Jan 2025 14:55:19 -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 1tTRHo-0006R6-Nf for guix-patches@gnu.org; Thu, 02 Jan 2025 14:55:17 -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 1tTRHb-0004x4-6H for guix-patches@gnu.org; Thu, 02 Jan 2025 14:55:16 -0500 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:Subject; bh=Bm0xZqKrIHvtwd2EkW9Tb3fA1T4ttOzCgym2YtAcrjg=; b=Z9dUP5MYWLFWS1YEeb3qir5oyfLMhpFhWmYsob01fxtzc3Xz+P0hQJ2lPkdAvp1b3qNVfG9eZW5F8KH1y8liKTGUCoFVYxoSJE2zUxucXzFaAFIRO/4Qam1somJdhPRFR+cf3HRZU3/O4iQbG3ho+AH31qAlVWsb/B6LAXDDILgb79f9r8N25CuaD/C/ezxo8feQ43SNOhmZwrGQoDUIbOo1JZOWjN6jIyWBePMAkGr/bgIx3P0HJo2Swh9c0c2g4pcseRAKbUlrRpetkGl9V5rrYPESQrdCkgHA1xsgrlwDmJ+ONDNq5zWlzG8ZMea4Q/wp3WunwYM0LbuOxW8cdQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTRHa-0004VW-7h; Thu, 02 Jan 2025 14:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75299] [PATCH v1] gnu: Add grub-emu. Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Thu, 02 Jan 2025 19:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75299 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75299@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli , Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by submit@debbugs.gnu.org id=B.173584768117266 (code B ref -1); Thu, 02 Jan 2025 19:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2025 19:54:41 +0000 Received: from localhost ([127.0.0.1]:46781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTRHF-0004UP-7v for submit@debbugs.gnu.org; Thu, 02 Jan 2025 14:54:41 -0500 Received: from lists.gnu.org ([2001:470:142::17]:43450) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTRHC-0004U3-NZ for submit@debbugs.gnu.org; Thu, 02 Jan 2025 14:54:39 -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 1tTRH7-0006JY-69 for guix-patches@gnu.org; Thu, 02 Jan 2025 14:54:33 -0500 Received: from cyberdimension.org ([2001:678:938:3ff::36] helo=rockpro64.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tTRH4-0004qD-St for guix-patches@gnu.org; Thu, 02 Jan 2025 14:54:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=yhDAgcovHDkepeB hiZMPUykPRAvgwTuqBIfJdAW+xVI=; h=date:subject:cc:to:from; d=cyberdimension.org; b=e4p2aCBjK47Wjt8RbZTKNZOW6KKJNXWPaV3DVLzjOaq2mF rv4CHvIKgfzGraUHBkjNS/HN//2Bi0bNNJs5N7fRMCuNkbdFmJGzrfTQzkVfWYCGYNLccE k0+YwITySMo/iWYN5RhrtOKOSZukOT1hU+/1bY8l6ta6Um8hRW1AXEpVTIXpbvWZ7G0THa KJcF04Y8e1Qa3/Kh1sEvTVltNoAo3ZBhcAk1csci5kGc5csEjVhJr4YOOcQN2FqkNIO5y9 rtnS7sLDfjwU4jgJNp+Dvbk1VPtd0jHpWI/prOx1VvKsxE1ioGx0irBazzNdQRQrDKRHMk C2bErzpaRQsEUNiA== Received: from localhost.localdomain (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id 1bb9e1de; Thu, 2 Jan 2025 19:54:23 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Thu, 2 Jan 2025 20:54:13 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:678:938:3ff::36; envelope-from=GNUtoo@cyberdimension.org; helo=rockpro64.cyberdimension.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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: -2.95 X-Spam-Score: -2.95 X-Migadu-Queue-Id: 6BA9C39E5 X-TUID: jZVUMZ0kq+kr * gnu/packages/bootloaders.scm (grub-emu): New variable. Signed-off-by: Denis 'GNUtoo' Carikli Change-Id: Ia70246841e612b1fe1cb70001b9a6420cb7a63ea --- gnu/packages/bootloaders.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index b5cfacca4b..54162e9d1e 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -475,6 +475,16 @@ (define-public grub-efi32 (cross-binutils "arm-linux-gnueabihf"))) (package-native-inputs grub-efi))))) +(define-public grub-emu + (package + (inherit grub) + (name "grub-emu") + (synopsis "GRand Unified Boot loader (Emu version)") + (arguments + (substitute-keyword-arguments (package-arguments grub) + ((#:configure-flags flags #~'()) + #~(cons* "--with-platform=emu" #$flags)))))) + ;; Because grub searches hardcoded paths it's easiest to just build grub ;; again to make it find both grub-pc and grub-efi. There is a command ;; line argument which allows you to specify ONE platform - but base-commit: 8c11f8740a52339f51fe1841658e8e549589f2e2 -- 2.46.0