Message ID | abb2d7995c63a107511f4a2285d5ff2708422bfd.1742546953.git.efraim@flashner.co.il |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E4DFD27BBE9; Fri, 21 Mar 2025 08:55:48 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7266A27BBE2 for <patchwork@mira.cbaines.net>; Fri, 21 Mar 2025 08:55:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tvY9n-00076T-LU; Fri, 21 Mar 2025 04:55:11 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tvY9i-000710-58 for guix-patches@gnu.org; Fri, 21 Mar 2025 04:55:06 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tvY9h-0001gf-QK for guix-patches@gnu.org; Fri, 21 Mar 2025 04:55:05 -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=yrfwCrhQu6ZgJ5g0ShTDc78EtCx4iTCJO/iDygoEXvI=; b=ZAeRC9L2jvHRE0GErW+HwkaY6/cSrLTap5v31CxyIWGGfw20Uar6dYqQ6r0aNhwMSzcPMFUe2SNvg7bUt48xmvhFqoF8UvOkgulXzBIErp/DfVz0I+1ohUWiVnb5exTlugfq3Py6nRjfvSlmD2Gtgkn7OSkGjZMvI68YKmMmlUKUGy2oOgFVBjl1KUj5KulSJVRQjL9bsPmrzCo8mfI2r6PK2GurxNHt247SDmDZhSTGLPeYtEm2+BPT69NgtqnXcRBBMBM2P044VO5Lhu11gqRE3Al+5/yZj+CHEz702BzJQHt+/OCugaNRVvE449T4p0BxZ4qaNXmHZf8KULx+eg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tvY9f-0001BD-IH; Fri, 21 Mar 2025 04:55:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77148] [PATCH 7/9] gnu: ovmf-riscv64: Adjust the installed firmware. Resent-From: Efraim Flashner <efraim@flashner.co.il> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Fri, 21 Mar 2025 08:55:03 +0000 Resent-Message-ID: <handler.77148.B77148.17425472584208@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77148 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77148@debbugs.gnu.org Cc: Efraim Flashner <efraim@flashner.co.il>, Maxim Cournoyer <maxim.cournoyer@gmail.com>, Efraim Flashner <efraim@flashner.co.il>, Vagrant Cascadian <vagrant@debian.org> X-Debbugs-Original-Xcc: Efraim Flashner <efraim@flashner.co.il>, Vagrant Cascadian <vagrant@debian.org> Received: via spool by 77148-submit@debbugs.gnu.org id=B77148.17425472584208 (code B ref 77148); Fri, 21 Mar 2025 08:55:03 +0000 Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:18 +0000 Received: from localhost ([127.0.0.1]:35044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tvY8v-00015i-U8 for submit@debbugs.gnu.org; Fri, 21 Mar 2025 04:54:18 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:56322) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <efraim.flashner@gmail.com>) id 1tvY8R-00010Z-4Y for 77148@debbugs.gnu.org; Fri, 21 Mar 2025 04:53:49 -0400 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5e4d50ed90aso2407519a12.0 for <77148@debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742547221; x=1743152021; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=yrfwCrhQu6ZgJ5g0ShTDc78EtCx4iTCJO/iDygoEXvI=; b=D1PAk9KC2QJxDi01kjDw0/DxEOh13HxBfdVQkGLWVxXjxEqg44WBYG2OMl6bO78EVR nAk6V+Gd5zzk0QI2UO7zSm1atVUz50zli9XaU/B00/YlSKhgNaMOFC/WulRNAGfjUy4A WiSGoB0z2bbx50ZMrZw5KTIwi+0wQdUZvrlAUvZJ7cdYiQv9MVZgWAGa8LBfZ3LtjPFq j1OEmyenXnfqtK8r/OtdJUVBebjHawZ11yL7HMSUC1HUVPcZGe6bhd/8ouuQgmWcX+Cq iDKg4LL6m3evj4RSKxNDmvo1Keb1iNlLxEbAkpZXn7eXDU2wahLXalKvE+2fGpDOIo0D hSsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742547221; x=1743152021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=yrfwCrhQu6ZgJ5g0ShTDc78EtCx4iTCJO/iDygoEXvI=; b=XSfk9ST8jOTLyUPaGa/rU2k7mM0ClqgH7emz7UPEMCzPw/lilLOgTU31KC7Sg4sYtj +Nbhj+hogX/4cfDkBBEoV+MN0fdIdkKikWqFqqcfByAMNB8/ceWsbBUIXNNb+p30byy0 9hdq/y/pG2uH+AUOXW9BtFddirnFan9Eh3OPFuD36ZJMG27l9pxIEJk7tYitQqAr8blm UXboAI8bv0Ifmb2BxjYELvCAIBCJN5d5ybQWVAz3R3yN31JBXGS8+BoJs5E3hEYZo/93 60sg5h3zlCOdlFp1MmnGRFvJnzoasT/E7jsKY0BKrYekEMnUINL7fItqtAw1cTyFoxEX iZVA== X-Gm-Message-State: AOJu0Yy6UTBfD8M4/e6xT002PNLkoqMCummCQ3NPOLxsafuE9O3O3XOM t4AOWJXrqHQQFiqQp1VDEyxXQzElUhYa51xA5czWlCFcQECgCiDhH/k/PEAq X-Gm-Gg: ASbGncvP9b5fLfgwBkxFl2x1o0GwzCBV8hNgWAqAETD6ucXVcf9JxnULP3qNc5TAqR4 A6IX1RwqzrOAgl+0Xiswzd4O5PYfqZKh+XlzlzKkbuu/9Vj7Hg6O6prtnxVV+fctpvezWeP9HUZ qD4m+VoLbyKKhIooXgrycjLvVE552/zxCVJfxclkSkvNkHw44IOk7uR64fpMtVcTx0eYCF0b15g paohx36dT5mYGu/hZSI24WBPDdatZkbZV/sRtr5K7m0XiB8fb9gjS3abM3PUlbq9Fo4NHVNsmF8 9g3zg87Uet9gmG6yQFyu7trTPTdaJ3p4pUraQnt3YF7P7HWu X-Google-Smtp-Source: AGHT+IFAFxdwExQiiCVsmdiyBQjxatbROQKw01nwUB2Mgy8B+p4ShdEy0JIHY3yL1glOZQqHMM0Hpg== X-Received: by 2002:a05:6402:354a:b0:5e5:3610:8b59 with SMTP id 4fb4d7f45d1cf-5ebcd40607emr2084519a12.1.1742547220789; Fri, 21 Mar 2025 01:53:40 -0700 (PDT) Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ebcd0c6f25sm945618a12.57.2025.03.21.01.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Mar 2025 01:53:40 -0700 (PDT) From: Efraim Flashner <efraim@flashner.co.il> Date: Fri, 21 Mar 2025 10:53:08 +0200 Message-ID: <abb2d7995c63a107511f4a2285d5ff2708422bfd.1742546953.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.48.1 In-Reply-To: <cover.1742546953.git.efraim@flashner.co.il> References: <cover.1742546953.git.efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
New firmware and updates
|
|
Commit Message
Efraim Flashner
March 21, 2025, 8:53 a.m. UTC
* gnu/packages/firmware.scm (ovmf-riscv64)[arguments]: Adjust the 'install phase to truncate the files to their expected lengths. Change-Id: Idb524a7e2ca8b8a8fe8a70a893f57a13ff1e0b56 --- gnu/packages/firmware.scm | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index c8220fe3d66..0becefb3b08 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -1234,6 +1234,9 @@ (define-public ovmf-riscv64 (let ((fmw (string-append #$output "/share/firmware"))) (mkdir-p fmw) (with-directory-excursion "Build/RiscVVirtQemu/RELEASE_GCC/FV" + ;; Make the files the desired length and then install them + (truncate-file "RISCV_VIRT_CODE.fd" (* 32 1024 1024)) + (truncate-file "RISCV_VIRT_VARS.fd" (* 32 1024 1024)) (install-file "RISCV_VIRT_CODE.fd" fmw) (install-file "RISCV_VIRT_VARS.fd" fmw))))))))))))