gnu: vboot-utils: Install development keys.

* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys'
phase.
This commit is contained in:
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

View file

@ -729,7 +729,14 @@ (define-public vboot-utils
".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)