mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
ced31f8dd1
commit
379aee7b4f
1 changed files with 39 additions and 43 deletions
|
@ -8263,50 +8263,46 @@ under OpenGL graphics workloads.")
|
|||
(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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue