[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
96/155: gnu: Add grub-efi.
From: |
John Darrington |
Subject: |
96/155: gnu: Add grub-efi. |
Date: |
Wed, 21 Dec 2016 20:48:36 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit 697c3a42b3dc845153dd587e0d86a243dbfb6ebf
Author: Marius Bakke <address@hidden>
Date: Thu Oct 20 17:26:52 2016 +0100
gnu: Add grub-efi.
* gnu/packages/grub.scm (grub-efi): New variable.
---
gnu/packages/grub.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/grub.scm b/gnu/packages/grub.scm
index 317ed03..3658f22 100644
--- a/gnu/packages/grub.scm
+++ b/gnu/packages/grub.scm
@@ -133,3 +133,29 @@ on the same computer; upon booting the computer, the user
is presented with a
menu to select one of the installed operating systems.")
(license gpl3+)
(properties '((cpe-name . "grub2")))))
+
+(define-public grub-efi
+ (package
+ (inherit grub)
+ (name "grub-efi")
+ (synopsis "GRand Unified Boot loader (UEFI version)")
+ (inputs
+ `(("efibootmgr" ,efibootmgr)
+ ,@(package-inputs grub)))
+ (arguments
+ `(;; TODO: Tests need a UEFI firmware for qemu. There is one at
+ ;; https://github.com/tianocore/edk2/tree/master/OvmfPkg .
+ ;; Search for 'OVMF' in "tests/util/grub-shell.in".
+ #:tests? #f
+ ,@(substitute-keyword-arguments (package-arguments grub)
+ ((#:configure-flags flags) `(cons* "--with-platform=efi"
+ ,flags))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'patch-stuff 'use-absolute-efibootmgr-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "grub-core/osdep/unix/platform.c"
+ (("efibootmgr")
+ (string-append (assoc-ref inputs "efibootmgr")
+ "/sbin/efibootmgr")))
+ #t)))))))))
- 110/155: gnu: weechat: Use new xz-compressed tarball., (continued)
- 110/155: gnu: weechat: Use new xz-compressed tarball., John Darrington, 2016/12/21
- 127/155: gnu: gnupg: Update to 2.1.17., John Darrington, 2016/12/21
- 120/155: services: cuirass: Add 'cuirass' field., John Darrington, 2016/12/21
- 116/155: gnu: argon2: Update to 20161029., John Darrington, 2016/12/21
- 115/155: gnu: cppcheck: Update to 1.76.1., John Darrington, 2016/12/21
- 135/155: gnu: gnupg: Remove unneeded input., John Darrington, 2016/12/21
- 132/155: Revert "gnu: nss, nss-certs: Update to 3.27.2.", John Darrington, 2016/12/21
- 140/155: gnu: getmail: Update to 4.52.0., John Darrington, 2016/12/21
- 129/155: gnu: Add alsa-plugins., John Darrington, 2016/12/21
- 139/155: gnu: bogofilter: Use 'modify-phases'., John Darrington, 2016/12/21
- 96/155: gnu: Add grub-efi.,
John Darrington <=
- 111/155: gnu: aspell-dictionary: Use ‘modify-phases’ syntax., John Darrington, 2016/12/21
- 124/155: doc: Replace fingerprint of OpenPGP signing key., John Darrington, 2016/12/21
- 117/155: gnu: Fix load-extension path in packaging of guile-ncurses., John Darrington, 2016/12/21
- 143/155: gnu: nmap: Update to 7.40., John Darrington, 2016/12/21
- 146/155: gnu: xcape: Update to 1.2., John Darrington, 2016/12/21
- 141/155: gnu: msmtp: Update to 1.6.6., John Darrington, 2016/12/21
- 150/155: gnu: mlt: Update to 6.4.1., John Darrington, 2016/12/21
- 154/155: gnu: coq: Build coqide, John Darrington, 2016/12/21
- 147/155: gnu: xcb-util-xrm: Update to 1.2., John Darrington, 2016/12/21
- 148/155: gnu: xf86-video-vmware: Update to 13.2.1., John Darrington, 2016/12/21