gnu: vboot-utils: Install development keys.
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys' phase.
This commit is contained in:
parent
93d137020b
commit
71f2b4b8f3
|
@ -729,7 +729,14 @@ board-independent tools.")))
|
||||||
".drv-0/source")))
|
".drv-0/source")))
|
||||||
;; Tests require write permissions to many of these files.
|
;; Tests require write permissions to many of these files.
|
||||||
(for-each make-file-writable (find-files "tests/futility"))
|
(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"))
|
#:test-target "runtests"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
|
|
Loading…
Reference in New Issue