From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 CI+3BtxvX2W61wAA9RJhRA:P1 (envelope-from ) for ; Thu, 23 Nov 2023 16:29:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CI+3BtxvX2W61wAA9RJhRA (envelope-from ) for ; Thu, 23 Nov 2023 16:29:32 +0100 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 F23A25EF60 for ; Thu, 23 Nov 2023 16:29:31 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700753372; a=rsa-sha256; cv=none; b=gW+f5BTPbd5dk86HUWmlVnpQGF3wdyHj4zPWQOgXV3f0SxRxJpF/dojFy7ZuX/xNirNYyx g5uH9rojrzW3Dt4K57Ls/v8YkyimMrWudh9iKmfKlbj+51pIOIm5YcQUZvYMTc6c7RgINv h2rwuGpWvIuTO/kd24QW2+2L+s+zLT7aRMY5CTtDhT7GKmot9f1ZS6SV5CHcJkILMUoSgY pXujqMNAqkKYaLiXqNROxtjNiCibxvnhldsD6VpZ1h2dxhKhbZftunI4l4oH97Z8D2+Zmr Z6E1/FLSUrBH1kXxP1tfbtsh6nmm+iSSO133FATLSTVxcZYVgQcP7eBIQJRUwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700753372; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=lAGjI2oGujytSlmQLI2H2qn6vrJcvYAyDMXtePoBeUE=; b=Ia8Mcbngbz/K5OT3sNWS1KMo12EbycI6yhIXRZna1xFbftW6toIdT32j64qKeKgxzNcUEt rwDA23x94ljipDi+mZnbCPVtF9DSdLbDT3P2uv6jmBWUm/am5b0zbpkpkXBBu2gg1zZU+E bZ8kkLKXbyRK+caX+GyO/QfCBivNTl48T4gekNqkhjkzZwRmvogKebpXn3kRWK+Cd9P9ID qS6PaUU0cPRHucVSMoOzyW05P4qnBW6s4D1XrIJCRiQ27BhHavRvxkp8l4kWtVqpNv1GXb 5HTbXyv4h7Mgxo4CCAgC3NZiSnynjCVO4+asaI9ql5ZnFU5rWAPBEhybwPkanw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6BdZ-0003ZO-H5; Thu, 23 Nov 2023 10:29:05 -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 1r6BdV-0003YZ-Ss for guix-patches@gnu.org; Thu, 23 Nov 2023 10:29:01 -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 1r6BdV-0007Zf-K8 for guix-patches@gnu.org; Thu, 23 Nov 2023 10:29:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6BdZ-0002jn-Fs for guix-patches@gnu.org; Thu, 23 Nov 2023 10:29:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67403] [PATCH 8/8] gnu: Add nvramtool. Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Thu, 23 Nov 2023 15:29:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67403 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67403@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli , ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by 67403-submit@debbugs.gnu.org id=B67403.170075331110433 (code B ref 67403); Thu, 23 Nov 2023 15:29:05 +0000 Received: (at 67403) by debbugs.gnu.org; 23 Nov 2023 15:28:31 +0000 Received: from localhost ([127.0.0.1]:34717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6Bd0-0002i8-Im for submit@debbugs.gnu.org; Thu, 23 Nov 2023 10:28:30 -0500 Received: from [2001:910:1314:ffff::1] (port=60338 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6Bcv-0002ga-NV for 67403@debbugs.gnu.org; Thu, 23 Nov 2023 10:28:26 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id b67d99fc; Thu, 23 Nov 2023 15:28:19 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 673dba84; Thu, 23 Nov 2023 15:28:18 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Thu, 23 Nov 2023 16:27:44 +0100 Message-ID: <5a249dd2990f7856d7cc8347a8f0786befda20e7.1700752093.git.GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: 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-Queue-Id: F23A25EF60 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.62 X-Spam-Score: -4.62 X-TUID: FSrAIn+p0jw/ * gnu/packages/flashing-tools.scm (nvramtool): New variable. Signed-off-by: Denis 'GNUtoo' Carikli Change-Id: I4f1391d51cf861b281abb0cf7d46022b50e70c4e --- gnu/packages/flashing-tools.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm index 705fd76d6f..bf6726d40b 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -496,6 +496,34 @@ (define-public intelmetool ;; This is obviously an Intel thing, plus it requires . (supported-systems '("x86_64-linux" "i686-linux")))) +(define-public nvramtool + (package + (name "nvramtool") + (version coreboot-version) + (source coreboot-source) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + "INSTALL=install" + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "util/nvramtool"))) + (delete 'configure)) ; no configure script + #:tests? #f)) ; no test suite + (home-page "https://coreboot.org") + (synopsis "Tool to read/write Coreboot settings") + (description "This package provides @command{nvramtool}. It can list the +available values for each Coreboot settings, read/write them, and restore +their default values. It also has lower level features like the ability to +correct checksum if the settings data were corrupted, or ability to read/write +individual bits in the CMOS memory holding the settings.") + (license license:gpl2))) + (define-public me-cleaner (package (name "me-cleaner") -- 2.41.0