aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKei Kebreau <kkebreau@posteo.net>2019-01-20 01:51:39 -0500
committerKei Kebreau <kkebreau@posteo.net>2019-01-20 01:51:39 -0500
commit71f2b4b8f33fe0c0c5450566606992d3bc9f7773 (patch)
tree0923c8e8db2d18b7a7d0e7fe0b1ea839c1ce16f1 /gnu
parent93d137020b4dd2b670546b7525de08274cd2f81f (diff)
downloadgnu-guix-71f2b4b8f33fe0c0c5450566606992d3bc9f7773.tar
gnu-guix-71f2b4b8f33fe0c0c5450566606992d3bc9f7773.tar.gz
gnu: vboot-utils: Install development keys.
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys' phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bootloaders.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 1cf7720a73..a4b4f64783 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)