gnu: efivar: Update to 39.

* gnu/packages/linux.scm (efivar): Update to 39.

Change-Id: Iaf9a94cd3f851d442b70b30b85d8e8e90ba4460c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Zheng Junjie 2025-04-06 23:09:54 +08:00 committed by Efraim Flashner
parent ced31f8dd1
commit 379aee7b4f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -8263,50 +8263,46 @@ under OpenGL graphics workloads.")
(license license:gpl3))) (license license:gpl3)))
(define-public efivar (define-public efivar
;; XXX: 15622b7e5761f3dde3f0e42081380b2b41639a48 fixes compilation on i686. (package
;; ca48d3964d26f5e3b38d73655f19b1836b16bd2d fixes cross-compilation. (name "efivar")
(let ((commit "ca48d3964d26f5e3b38d73655f19b1836b16bd2d") (version "39")
(revision "0")) (source (origin
(package (method git-fetch)
(name "efivar") (uri (git-reference
(version (git-version "38" revision commit)) (url "https://github.com/rhboot/efivar")
(source (origin (commit version)))
(method git-fetch) (file-name (git-file-name name version))
(uri (git-reference (sha256
(url "https://github.com/rhboot/efivar") (base32
(commit commit))) "1zd9dghg1z2rrsazv3d9rj7nik6kdqz42jiak65pipz7mpjn9zdk"))))
(file-name (git-file-name name version)) (build-system gnu-build-system)
(sha256 (arguments
(base32 (list
"0zsab3hcv1v53cxwkvsk09ifnwhs48a6xa3kxlwvs87yxswspvi8")))) ;; Tests require a UEFI system and is not detected in the chroot.
(build-system gnu-build-system) #:tests? #f
(arguments #:make-flags #~(list (string-append "prefix="
(list #$output)
;; Tests require a UEFI system and is not detected in the chroot. (string-append "libdir="
#:tests? #f #$output "/lib")
#:make-flags #~(list (string-append "prefix=" (string-append "CC="
#$output) #$(cc-for-target)) "HOSTCC=gcc"
(string-append "libdir=" (string-append "LDFLAGS=-Wl,-rpath="
#$output "/lib") #$output "/lib"))
(string-append "CC=" #:phases #~(modify-phases %standard-phases
#$(cc-for-target)) "HOSTCC=gcc" (add-after 'unpack 'build-deterministically
(string-append "LDFLAGS=-Wl,-rpath=" (lambda _
#$output "/lib")) (substitute* "src/include/defaults.mk"
#:phases #~(modify-phases %standard-phases ;; Don't use -march=native.
(add-after 'unpack 'build-deterministically (("-march=native")
(lambda _ ""))))
(substitute* "src/include/defaults.mk" (delete 'configure))))
;; Don't use -march=native. (native-inputs (list mandoc pkg-config))
(("-march=native") (inputs (list popt))
"")))) (home-page "https://github.com/rhboot/efivar")
(delete 'configure)))) (synopsis "Tool and library to manipulate EFI variables")
(native-inputs (list mandoc pkg-config)) (description "This package provides a library and a command line
(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.") interface to the variable facility of UEFI boot firmware.")
(license license:lgpl2.1+)))) (license license:lgpl2.1+)))
(define-public efibootmgr (define-public efibootmgr
(package (package