From patchwork Sun Apr 6 15:09:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zheng Junjie X-Patchwork-Id: 41366 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B83BA27BBE9; Sun, 6 Apr 2025 16:11:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, PDS_OTHER_BAD_TLD,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 BF64827BBE2 for ; Sun, 6 Apr 2025 16:11:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u1ReL-0006fB-Sg; Sun, 06 Apr 2025 11:11:06 -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 1u1ReJ-0006eg-Kc for guix-patches@gnu.org; Sun, 06 Apr 2025 11:11:03 -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 1u1ReI-0006pZ-HN for guix-patches@gnu.org; Sun, 06 Apr 2025 11:11:03 -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:Date:From:To:Subject; bh=W+YdyvVUPAPLePsVZJqGcVE6KnUluMGXjMRIfCLABxI=; b=hCK10RYH+0GvO72SWVi2LqOUwTGPRZdxXcVVJKbTwLH4/JTUkh5nn3D9y9PtYLKemF6S6FMqXVfmjRoN9TUvDStgD3ByKpq65whCTz/ITjAHYTGQC7A2roNMJ+KTXI0zqSHZOctsbQXrtaXzdJF+HdNb2m2VQn6crsCEKwgz+Qx/6wGhOhjsKFfPOPRkajcKVxBOalhbdw8ENXK7c+gE1FUWP+mkBrD5WviWFILMShnEN4d/oMEZnAc3qq78CMxaN/6DuzXe9ypxIYZysNmuffOuDJ4LmRRJjFRBTed23pfKh+Y/f7qftS5Ror3CZ1rCbxeiP0xPU0wVJUKwTSDOLQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u1ReH-0001I5-V8; Sun, 06 Apr 2025 11:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77579] [PATCH] gnu: efivar: Update to 39. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Sun, 06 Apr 2025 15:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77579@debbugs.gnu.org Cc: Leo Famulari , Wilko Meyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by submit@debbugs.gnu.org id=B.17439522194885 (code B ref -1); Sun, 06 Apr 2025 15:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Apr 2025 15:10:19 +0000 Received: from localhost ([127.0.0.1]:49146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1Rda-0001Gi-Fc for submit@debbugs.gnu.org; Sun, 06 Apr 2025 11:10:18 -0400 Received: from lists.gnu.org ([2001:470:142::17]:32988) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1RdX-0001Ex-71 for submit@debbugs.gnu.org; Sun, 06 Apr 2025 11:10:15 -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 1u1RdO-0006WG-LY for guix-patches@gnu.org; Sun, 06 Apr 2025 11:10:06 -0400 Received: from mail.z572.online ([88.99.160.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u1RdM-0006b9-NJ for guix-patches@gnu.org; Sun, 06 Apr 2025 11:10:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=z572.online; s=me; t=1743952581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=W+YdyvVUPAPLePsVZJqGcVE6KnUluMGXjMRIfCLABxI=; b=KNoPu9FSXB5NAlT0jFq3SmrwCcjPFQ9CSjIFCs3hLuAU6k8O3Jabv7+OKeZnKk6xPSMqXX DFMXtPWeINzSEUheceeIwCf/thmyZKRvr2dtwspYCVMyMrXUTLRrmUroEc68juhvteKASL Tsv3xfYAKQ6DXyP+2Rqo7p1wYfX3Yw8= Received: from m.tailaa68d.ts.net (mail1.85362086.com [107.174.64.25]) by mail.z572.online (OpenSMTPD) with ESMTPSA id 53183b18 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 6 Apr 2025 15:16:20 +0000 (UTC) From: Zheng Junjie Date: Sun, 6 Apr 2025 23:09:54 +0800 Message-ID: <593f7479c435b30f9c3c17f58924fba035e3ed51.1743952194.git.z572@z572.online> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Received-SPF: pass client-ip=88.99.160.180; envelope-from=z572@z572.online; helo=mail.z572.online X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (efivar): Update to 39. Change-Id: Iaf9a94cd3f851d442b70b30b85d8e8e90ba4460c --- gnu/packages/linux.scm | 82 ++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 43 deletions(-) base-commit: 90279af10615cd74e4c52851f7fec797d4d0f682 prerequisite-patch-id: f6807c214a9924fb57a2a054dceba1802ba4536c prerequisite-patch-id: b60437563c004733af4ad531ed0ca89b049e748f prerequisite-patch-id: f923e612422f9021d997ea3824d4b97b1f022c65 diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index a6bffa2bb9d..4b1c7b398d2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8197,50 +8197,46 @@ (define-public radeontop (license license:gpl3))) (define-public efivar - ;; XXX: 15622b7e5761f3dde3f0e42081380b2b41639a48 fixes compilation on i686. - ;; ca48d3964d26f5e3b38d73655f19b1836b16bd2d fixes cross-compilation. - (let ((commit "ca48d3964d26f5e3b38d73655f19b1836b16bd2d") - (revision "0")) - (package - (name "efivar") - (version (git-version "38" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rhboot/efivar") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zsab3hcv1v53cxwkvsk09ifnwhs48a6xa3kxlwvs87yxswspvi8")))) - (build-system gnu-build-system) - (arguments - (list - ;; Tests require a UEFI system and is not detected in the chroot. - #:tests? #f - #:make-flags #~(list (string-append "prefix=" - #$output) - (string-append "libdir=" - #$output "/lib") - (string-append "CC=" - #$(cc-for-target)) "HOSTCC=gcc" - (string-append "LDFLAGS=-Wl,-rpath=" - #$output "/lib")) - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'build-deterministically - (lambda _ - (substitute* "src/include/defaults.mk" - ;; Don't use -march=native. - (("-march=native") - "")))) - (delete 'configure)))) - (native-inputs (list mandoc pkg-config)) - (inputs (list popt)) - (home-page "https://github.com/rhboot/efivar") - (synopsis "Tool and library to manipulate EFI variables") - (description "This package provides a library and a command line + (package + (name "efivar") + (version "39") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rhboot/efivar") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zd9dghg1z2rrsazv3d9rj7nik6kdqz42jiak65pipz7mpjn9zdk")))) + (build-system gnu-build-system) + (arguments + (list + ;; Tests require a UEFI system and is not detected in the chroot. + #:tests? #f + #:make-flags #~(list (string-append "prefix=" + #$output) + (string-append "libdir=" + #$output "/lib") + (string-append "CC=" + #$(cc-for-target)) "HOSTCC=gcc" + (string-append "LDFLAGS=-Wl,-rpath=" + #$output "/lib")) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'build-deterministically + (lambda _ + (substitute* "src/include/defaults.mk" + ;; Don't use -march=native. + (("-march=native") + "")))) + (delete 'configure)))) + (native-inputs (list mandoc pkg-config)) + (inputs (list popt)) + (home-page "https://github.com/rhboot/efivar") + (synopsis "Tool and library to manipulate EFI variables") + (description "This package provides a library and a command line interface to the variable facility of UEFI boot firmware.") - (license license:lgpl2.1+)))) + (license license:lgpl2.1+))) (define-public efibootmgr (package