guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: vboot-utils: Install development keys.


From: guix-commits
Subject: 01/01: gnu: vboot-utils: Install development keys.
Date: Sun, 20 Jan 2019 01:52:58 -0500 (EST)

kkebreau pushed a commit to branch master
in repository guix.

commit 71f2b4b8f33fe0c0c5450566606992d3bc9f7773
Author: Kei Kebreau <address@hidden>
Date:   Sun Jan 20 01:51:39 2019 -0500

    gnu: vboot-utils: Install development keys.
    
    * gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 
'install-devkeys'
    phase.
---
 gnu/packages/bootloaders.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 1cf7720..a4b4f64 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -729,7 +729,14 @@ board-independent tools.")))
                                         ".drv-0/source")))
                       ;; Tests require write permissions to many of these 
files.
                       (for-each make-file-writable (find-files 
"tests/futility"))
-                      #t)))
+                      #t))
+                  (add-after 'install 'install-devkeys
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out"))
+                             (share (string-append out "/share/vboot-utils")))
+                        (copy-recursively "tests/devkeys"
+                                          (string-append share "/devkeys"))
+                        #t))))
        #:test-target "runtests"))
     (native-inputs
      `(("pkg-config" ,pkg-config)



reply via email to

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