gnu: vboot-utils: Install development keys.

* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys'
phase.
master
Kei Kebreau 2019-01-20 01:51:39 -05:00
parent 93d137020b
commit 71f2b4b8f3
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 8 additions and 1 deletions

View File

@ -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)