guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/155: gnu: grub: Add dependency on efibootmgr.


From: John Darrington
Subject: 16/155: gnu: grub: Add dependency on efibootmgr.
Date: Wed, 21 Dec 2016 20:48:30 +0000 (UTC)

jmd pushed a commit to branch wip-installer
in repository guix.

commit 2511904956330e1122e4ebccbd83b6faae495e95
Author: Ludovic Court├Ęs <address@hidden>
Date:   Fri Dec 16 14:44:37 2016 +0100

    gnu: grub: Add dependency on efibootmgr.
    
    Suggested by Marius Bakke <address@hidden>.
    
    * gnu/packages/grub.scm (grub)[arguments]: In 'patch-stuff', set
    efibootmgr absolute file name in 'platform.c'.
    [inputs]: Add EFIBOOTMGR.
---
 gnu/packages/grub.scm |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/grub.scm b/gnu/packages/grub.scm
index ef7395e..83304b8 100644
--- a/gnu/packages/grub.scm
+++ b/gnu/packages/grub.scm
@@ -115,6 +115,12 @@
                                        (assoc-ref inputs "mdadm")
                                        "/sbin/mdadm\"")))
 
+                     ;; Ditto for efibootmgr.
+                     (substitute* "grub-core/osdep/unix/platform.c"
+                       (("efibootmgr")
+                        (string-append (assoc-ref inputs "efibootmgr")
+                                       "/sbin/efibootmgr")))
+
                      ;; Make the font visible.
                      (copy-file (assoc-ref inputs "unifont") "unifont.bdf.gz")
                      (system* "gunzip" "unifont.bdf.gz")
@@ -129,6 +135,9 @@
     (inputs
      `(("gettext" ,gettext-minimal)
 
+       ;; For {U,}EFI.
+       ("efibootmgr" ,efibootmgr)
+
        ;; Depend on LVM2 for libdevmapper, used by 'grub-probe' and
        ;; 'grub-install' to recognize mapped devices (LUKS, etc.)
        ("lvm2" ,lvm2)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]